diff --git a/schemas/2018-05-01/subscriptionDeploymentTemplate.json b/schemas/2018-05-01/subscriptionDeploymentTemplate.json index 4cc4f2546a..d334f61b6d 100644 --- a/schemas/2018-05-01/subscriptionDeploymentTemplate.json +++ b/schemas/2018-05-01/subscriptionDeploymentTemplate.json @@ -49,7 +49,7 @@ }, "resources": { "description": "Collection of resources to be deployed", - "oneOf":[ + "oneOf": [ { "$ref": "#/definitions/resourcesWithoutSymbolicNames" }, @@ -987,14 +987,14 @@ } ] }, - "resourcesWithSymbolicNames":{ + "resourcesWithSymbolicNames": { "type": "object", "description": "Resources with symbolic names", "additionalProperties": { "$ref": "#/definitions/resource" } }, - "resourcesWithoutSymbolicNames":{ + "resourcesWithoutSymbolicNames": { "type": "array", "description": "Resources without symbolic names", "items": { diff --git a/schemas/2019-08-01/managementGroupDeploymentTemplate.json b/schemas/2019-08-01/managementGroupDeploymentTemplate.json index f416520a44..58373db30f 100644 --- a/schemas/2019-08-01/managementGroupDeploymentTemplate.json +++ b/schemas/2019-08-01/managementGroupDeploymentTemplate.json @@ -49,7 +49,7 @@ }, "resources": { "description": "Collection of resources to be deployed", - "oneOf":[ + "oneOf": [ { "$ref": "#/definitions/resourcesWithoutSymbolicNames" }, @@ -678,14 +678,14 @@ } ] }, - "resourcesWithSymbolicNames":{ + "resourcesWithSymbolicNames": { "type": "object", "description": "Resources with symbolic names", "additionalProperties": { "$ref": "#/definitions/resource" } }, - "resourcesWithoutSymbolicNames":{ + "resourcesWithoutSymbolicNames": { "type": "array", "description": "Resources without symbolic names", "items": { diff --git a/schemas/2019-08-01/tenantDeploymentTemplate.json b/schemas/2019-08-01/tenantDeploymentTemplate.json index 87842fe07a..3b81972126 100644 --- a/schemas/2019-08-01/tenantDeploymentTemplate.json +++ b/schemas/2019-08-01/tenantDeploymentTemplate.json @@ -49,7 +49,7 @@ }, "resources": { "description": "Collection of resources to be deployed", - "oneOf":[ + "oneOf": [ { "$ref": "#/definitions/resourcesWithoutSymbolicNames" }, @@ -798,14 +798,14 @@ } ] }, - "resourcesWithSymbolicNames":{ + "resourcesWithSymbolicNames": { "type": "object", "description": "Resources with symbolic names", "additionalProperties": { "$ref": "#/definitions/resource" } }, - "resourcesWithoutSymbolicNames":{ + "resourcesWithoutSymbolicNames": { "type": "array", "description": "Resources without symbolic names", "items": { diff --git a/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json b/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json index 3aeac6911a..84e868319a 100644 --- a/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json +++ b/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json @@ -82,9 +82,6 @@ }, { "$ref": "#/definitions/workspaces_onlineEndpoints_childResource" - }, - { - "$ref": "#/definitions/workspaces_services_childResource" } ] } @@ -1140,102 +1137,6 @@ "type" ], "description": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" - }, - "workspaces_services": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ACIServiceCreateRequest" - }, - { - "$ref": "#/definitions/CreateEndpointVariantRequest" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "description": { - "type": "string", - "description": "The description of the service." - }, - "environmentImageRequest": { - "oneOf": [ - { - "$ref": "#/definitions/CreateServiceRequestEnvironmentImageRequest" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Environment, models and assets needed for inferencing." - }, - "keys": { - "oneOf": [ - { - "$ref": "#/definitions/CreateServiceRequestKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The authentication keys." - }, - "kvTags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The service tag dictionary. Tags are mutable." - }, - "location": { - "type": "string", - "description": "The name of the Azure location/region." - }, - "name": { - "type": "string", - "description": "Name of the Azure Machine Learning service." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The service properties dictionary. Properties are immutable." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.MachineLearningServices/workspaces/services" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.MachineLearningServices/workspaces/services" } }, "definitions": { @@ -1275,181 +1176,6 @@ }, "description": "Datastore account key secrets." }, - "ACIServiceCreateRequest": { - "type": "object", - "properties": { - "appInsightsEnabled": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether or not Application Insights is enabled." - }, - "authEnabled": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether or not authentication is enabled on the service." - }, - "cname": { - "type": "string", - "description": "The CName for the service." - }, - "computeType": { - "type": "string", - "enum": [ - "ACI" - ] - }, - "containerResourceRequirements": { - "oneOf": [ - { - "$ref": "#/definitions/ContainerResourceRequirements" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource requirements for the container (cpu and memory)." - }, - "dataCollection": { - "oneOf": [ - { - "$ref": "#/definitions/ACIServiceCreateRequestDataCollection" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Details of the data collection options specified." - }, - "dnsNameLabel": { - "type": "string", - "description": "The Dns label for the service." - }, - "encryptionProperties": { - "oneOf": [ - { - "$ref": "#/definitions/ACIServiceCreateRequestEncryptionProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The encryption properties." - }, - "sslCertificate": { - "type": "string", - "description": "The public SSL certificate in PEM format to use if SSL is enabled." - }, - "sslEnabled": { - "oneOf": [ - { - "type": "boolean", - "default": false - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether or not SSL is enabled." - }, - "sslKey": { - "type": "string", - "description": "The public SSL key in PEM format for the certificate." - }, - "vnetConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/ACIServiceCreateRequestVnetConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The virtual network configuration." - } - }, - "required": [ - "computeType" - ] - }, - "ACIServiceCreateRequestDataCollection": { - "type": "object", - "properties": { - "eventHubEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Option for enabling/disabling Event Hub." - }, - "storageEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Option for enabling/disabling storage." - } - }, - "description": "Details of the data collection options specified." - }, - "ACIServiceCreateRequestEncryptionProperties": { - "type": "object", - "properties": { - "keyName": { - "type": "string", - "description": "Encryption Key name" - }, - "keyVersion": { - "type": "string", - "description": "Encryption Key Version" - }, - "vaultBaseUrl": { - "type": "string", - "description": "vault base Url" - } - }, - "required": [ - "keyName", - "keyVersion", - "vaultBaseUrl" - ], - "description": "The encryption properties." - }, - "ACIServiceCreateRequestVnetConfiguration": { - "type": "object", - "properties": { - "subnetName": { - "type": "string", - "description": "The name of the virtual network subnet." - }, - "vnetName": { - "type": "string", - "description": "The name of the virtual network." - } - }, - "description": "The virtual network configuration." - }, "AKS": { "type": "object", "properties": { @@ -1605,32 +1331,48 @@ }, "description": "AKS properties" }, - "AKSServiceCreateRequest": { + "AmlCompute": { "type": "object", "properties": { - "aadAuthEnabled": { + "computeType": { + "type": "string", + "enum": [ + "AmlCompute" + ] + }, + "properties": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/AmlComputeProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether or not AAD authentication is enabled." - }, - "appInsightsEnabled": { + "description": "AML Compute properties" + } + }, + "required": [ + "computeType" + ], + "description": "An Azure Machine Learning compute." + }, + "AmlComputeProperties": { + "type": "object", + "properties": { + "enableNodePublicIp": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": true }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether or not Application Insights is enabled." + "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." }, - "authEnabled": { + "isolatedNetwork": { "oneOf": [ { "type": "boolean" @@ -1639,100 +1381,169 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether or not authentication is enabled." + "description": "Network is isolated or not" }, - "autoScaler": { + "osType": { "oneOf": [ { - "$ref": "#/definitions/AKSServiceCreateRequestAutoScaler" + "type": "string", + "enum": [ + "Linux", + "Windows" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The auto scaler properties." - }, - "computeName": { - "type": "string", - "description": "The name of the compute resource." - }, - "computeType": { - "type": "string", - "enum": [ - "AKS" - ] + "description": "Compute OS Type." }, - "containerResourceRequirements": { + "remoteLoginPortPublicAccess": { "oneOf": [ { - "$ref": "#/definitions/ContainerResourceRequirements" + "type": "string", + "enum": [ + "Enabled", + "Disabled", + "NotSpecified" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The resource requirements for the container (cpu and memory)." + "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." }, - "dataCollection": { + "scaleSettings": { "oneOf": [ { - "$ref": "#/definitions/AKSServiceCreateRequestDataCollection" + "$ref": "#/definitions/ScaleSettings" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Details of the data collection options specified." + "description": "scale settings for AML Compute" }, - "livenessProbeRequirements": { + "subnet": { "oneOf": [ { - "$ref": "#/definitions/AKSServiceCreateRequestLivenessProbeRequirements" + "$ref": "#/definitions/ResourceId" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The liveness probe requirements." + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet." }, - "maxConcurrentRequestsPerContainer": { + "userAccountCredentials": { "oneOf": [ { - "type": "integer" + "$ref": "#/definitions/UserAccountCredentials" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The maximum number of concurrent requests per container." + "description": "Settings for user account that gets created on each on the nodes of a compute." }, - "maxQueueWaitMs": { + "virtualMachineImage": { "oneOf": [ { - "type": "integer" + "$ref": "#/definitions/VirtualMachineImage" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Maximum time a request will wait in the queue (in milliseconds). After this time, the service will return 503 (Service Unavailable)" - }, - "namespace": { - "type": "string", - "description": "Kubernetes namespace for the service." + "description": "Virtual Machine image for Windows AML Compute" }, - "numReplicas": { + "vmPriority": { "oneOf": [ { - "type": "integer" + "type": "string", + "enum": [ + "Dedicated", + "LowPriority" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The number of replicas on the cluster." + "description": "Virtual Machine priority." + }, + "vmSize": { + "type": "string", + "description": "Virtual Machine Size" + } + }, + "description": "AML Compute properties" + }, + "AmlToken": { + "type": "object", + "properties": { + "identityType": { + "type": "string", + "enum": [ + "AMLToken" + ] + } + }, + "required": [ + "identityType" + ], + "description": "AML Token identity configuration." + }, + "AssetReferenceBase": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/DataPathAssetReference" + }, + { + "$ref": "#/definitions/IdAssetReference" + }, + { + "$ref": "#/definitions/OutputPathAssetReference" + } + ], + "properties": {}, + "description": "Base definition for asset references." + }, + "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." + }, + "AutoScaleSettings": { + "type": "object", + "properties": { + "pollingInterval": { + "type": "string", + "format": "duration", + "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds." + }, + "scaleType": { + "type": "string", + "enum": [ + "Auto" + ] }, - "scoringTimeoutMs": { + "targetUtilizationPercentage": { "oneOf": [ { "type": "integer" @@ -1740,378 +1551,346 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "The scoring timeout in milliseconds." + ] } }, "required": [ - "computeType" - ], - "description": "The request to create an AKS service." + "scaleType" + ] }, - "AKSServiceCreateRequestAutoScaler": { + "AzureBlobContents": { "type": "object", "properties": { - "autoscaleEnabled": { + "accountName": { "oneOf": [ { - "type": "boolean" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Option to enable/disable auto scaling." + "description": "Storage account name." }, - "maxReplicas": { + "containerName": { "oneOf": [ { - "type": "integer" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The maximum number of replicas in the cluster." + "description": "Storage account container name." + }, + "contentsType": { + "type": "string", + "enum": [ + "AzureBlob" + ] }, - "minReplicas": { + "credentials": { "oneOf": [ { - "type": "integer" + "$ref": "#/definitions/DatastoreCredentials" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The minimum number of replicas to scale down to." + "description": "Base definition for datastore credentials." }, - "refreshPeriodInSeconds": { + "endpoint": { "oneOf": [ { - "type": "integer" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The amount of seconds to wait between auto scale updates." + "description": "Azure cloud endpoint for the storage account." }, - "targetUtilization": { + "protocol": { "oneOf": [ { - "type": "integer" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The target utilization percentage to use for determining whether to scale the cluster." + "description": "Protocol used to communicate with the storage account." } }, - "description": "The auto scaler properties." + "required": [ + "accountName", + "containerName", + "contentsType", + "credentials", + "endpoint", + "protocol" + ], + "description": "Azure Blob datastore configuration." }, - "AKSServiceCreateRequestDataCollection": { + "AzureDataLakeGen1Contents": { "type": "object", "properties": { - "eventHubEnabled": { + "contentsType": { + "type": "string", + "enum": [ + "AzureDataLakeGen1" + ] + }, + "credentials": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/DatastoreCredentials" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Option for enabling/disabling Event Hub." + "description": "Base definition for datastore credentials." }, - "storageEnabled": { + "storeName": { "oneOf": [ { - "type": "boolean" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Option for enabling/disabling storage." + "description": "Azure Data Lake store name." } }, - "description": "Details of the data collection options specified." + "required": [ + "contentsType", + "credentials", + "storeName" + ], + "description": "Azure Data Lake Gen1 datastore configuration." }, - "AKSServiceCreateRequestLivenessProbeRequirements": { + "AzureDataLakeGen2Contents": { "type": "object", "properties": { - "failureThreshold": { + "accountName": { "oneOf": [ { - "type": "integer" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The number of failures to allow before returning an unhealthy status." + "description": "Storage account name." }, - "initialDelaySeconds": { + "containerName": { "oneOf": [ { - "type": "integer" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The delay before the first probe in seconds." + "description": "Storage account container name." }, - "periodSeconds": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The length of time between probes in seconds." + "contentsType": { + "type": "string", + "enum": [ + "AzureDataLakeGen2" + ] }, - "successThreshold": { + "credentials": { "oneOf": [ { - "type": "integer" + "$ref": "#/definitions/DatastoreCredentials" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The number of successful probes before returning a healthy status." + "description": "Base definition for datastore credentials." }, - "timeoutSeconds": { + "endpoint": { "oneOf": [ { - "type": "integer" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The probe timeout in seconds." - } - }, - "description": "The liveness probe requirements." - }, - "AmlCompute": { - "type": "object", - "properties": { - "computeType": { - "type": "string", - "enum": [ - "AmlCompute" - ] + "description": "Azure cloud endpoint for the storage account." }, - "properties": { + "protocol": { "oneOf": [ { - "$ref": "#/definitions/AmlComputeProperties" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "AML Compute properties" + "description": "Protocol used to communicate with the storage account." } }, "required": [ - "computeType" + "accountName", + "containerName", + "contentsType", + "credentials", + "endpoint", + "protocol" ], - "description": "An Azure Machine Learning compute." + "description": "Azure Data Lake Gen2 datastore configuration." }, - "AmlComputeProperties": { + "AzureFileContents": { "type": "object", "properties": { - "enableNodePublicIp": { + "accountName": { "oneOf": [ { - "type": "boolean", - "default": true + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$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." + "description": "Storage account name." }, - "isolatedNetwork": { + "containerName": { "oneOf": [ { - "type": "boolean" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Network is isolated or not" + "description": "Storage account container name." }, - "osType": { + "contentsType": { + "type": "string", + "enum": [ + "AzureFile" + ] + }, + "credentials": { "oneOf": [ { - "type": "string", - "enum": [ - "Linux", - "Windows" - ] + "$ref": "#/definitions/DatastoreCredentials" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Compute OS Type." + "description": "Base definition for datastore credentials." }, - "remoteLoginPortPublicAccess": { + "endpoint": { "oneOf": [ { "type": "string", - "enum": [ - "Enabled", - "Disabled", - "NotSpecified" - ] + "pattern": "[a-zA-Z0-9_]" }, { "$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." + "description": "Azure cloud endpoint for the storage account." }, - "scaleSettings": { + "protocol": { "oneOf": [ { - "$ref": "#/definitions/ScaleSettings" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "scale settings for AML Compute" + "description": "Protocol used to communicate with the storage account." + } + }, + "required": [ + "accountName", + "containerName", + "contentsType", + "credentials", + "endpoint", + "protocol" + ], + "description": "Azure File datastore configuration." + }, + "AzurePostgreSqlContents": { + "type": "object", + "properties": { + "contentsType": { + "type": "string", + "enum": [ + "AzurePostgreSql" + ] }, - "subnet": { + "credentials": { "oneOf": [ { - "$ref": "#/definitions/ResourceId" + "$ref": "#/definitions/DatastoreCredentials" }, { "$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." + "description": "Base definition for datastore credentials." }, - "userAccountCredentials": { + "databaseName": { "oneOf": [ { - "$ref": "#/definitions/UserAccountCredentials" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$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." + "description": "Azure SQL database name." }, - "virtualMachineImage": { + "enableSSL": { "oneOf": [ { - "$ref": "#/definitions/VirtualMachineImage" + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Virtual Machine image for Windows AML Compute" + "description": "Whether the Azure PostgreSQL server requires SSL." }, - "vmPriority": { + "endpoint": { "oneOf": [ { "type": "string", - "enum": [ - "Dedicated", - "LowPriority" - ] + "pattern": "[a-zA-Z0-9_]" }, { "$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" - }, - "AmlToken": { - "type": "object", - "properties": { - "identityType": { - "type": "string", - "enum": [ - "AMLToken" - ] - } - }, - "required": [ - "identityType" - ], - "description": "AML Token identity configuration." - }, - "AssetReferenceBase": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/DataPathAssetReference" - }, - { - "$ref": "#/definitions/IdAssetReference" - }, - { - "$ref": "#/definitions/OutputPathAssetReference" - } - ], - "properties": {}, - "description": "Base definition for asset references." - }, - "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." - }, - "AutoScaleSettings": { - "type": "object", - "properties": { - "pollingInterval": { - "type": "string", - "format": "duration", - "description": "The polling interval in ISO 8691 format. Only supports duration with precision as low as Seconds." - }, - "scaleType": { - "type": "string", - "enum": [ - "Auto" - ] + "description": "Azure cloud endpoint for the database." }, - "targetUtilizationPercentage": { + "portNumber": { "oneOf": [ { "type": "integer" @@ -2119,29 +1898,53 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Azure SQL server port." + }, + "serverName": { + "oneOf": [ + { + "type": "string", + "pattern": "[a-zA-Z0-9_]" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure SQL server name." } }, "required": [ - "scaleType" - ] + "contentsType", + "credentials", + "databaseName", + "endpoint", + "portNumber", + "serverName" + ], + "description": "Azure Postgre SQL datastore configuration." }, - "AzureBlobContents": { + "AzureSqlDatabaseContents": { "type": "object", "properties": { - "accountName": { + "contentsType": { + "type": "string", + "enum": [ + "AzureSqlDatabase" + ] + }, + "credentials": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "$ref": "#/definitions/DatastoreCredentials" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Storage account name." + "description": "Base definition for datastore credentials." }, - "containerName": { + "databaseName": { "oneOf": [ { "type": "string", @@ -2151,38 +1954,32 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Storage account container name." - }, - "contentsType": { - "type": "string", - "enum": [ - "AzureBlob" - ] + "description": "Azure SQL database name." }, - "credentials": { + "endpoint": { "oneOf": [ { - "$ref": "#/definitions/DatastoreCredentials" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Base definition for datastore credentials." + "description": "Azure cloud endpoint for the database." }, - "endpoint": { + "portNumber": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Azure cloud endpoint for the storage account." + "description": "Azure SQL server port." }, - "protocol": { + "serverName": { "oneOf": [ { "type": "string", @@ -2192,362 +1989,372 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Protocol used to communicate with the storage account." + "description": "Azure SQL server name." } }, "required": [ - "accountName", - "containerName", "contentsType", "credentials", + "databaseName", "endpoint", - "protocol" + "portNumber", + "serverName" ], - "description": "Azure Blob datastore configuration." + "description": "Azure SQL Database datastore configuration." }, - "AzureDataLakeGen1Contents": { + "BanditPolicy": { "type": "object", "properties": { - "contentsType": { + "policyType": { "type": "string", "enum": [ - "AzureDataLakeGen1" + "Bandit" ] }, - "credentials": { + "slackAmount": { "oneOf": [ { - "$ref": "#/definitions/DatastoreCredentials" + "type": "number" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "Base definition for datastore credentials." + ] }, - "storeName": { + "slackFactor": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "type": "number" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "Azure Data Lake store name." + ] } }, "required": [ - "contentsType", - "credentials", - "storeName" + "policyType" ], - "description": "Azure Data Lake Gen1 datastore configuration." + "description": "Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation" }, - "AzureDataLakeGen2Contents": { + "BatchDeployment": { "type": "object", "properties": { - "accountName": { + "codeConfiguration": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "$ref": "#/definitions/CodeConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Storage account name." + "description": "Configuration for a scoring code asset." }, - "containerName": { + "compute": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "$ref": "#/definitions/ComputeConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Storage account container name." + "description": "Configuration for compute binding." }, - "contentsType": { + "description": { "type": "string", - "enum": [ - "AzureDataLakeGen2" - ] + "description": "Description of the endpoint deployment." }, - "credentials": { + "environmentId": { + "type": "string", + "description": "ARM resource ID of the environment specification for the endpoint deployment." + }, + "environmentVariables": { "oneOf": [ { - "$ref": "#/definitions/DatastoreCredentials" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Base definition for datastore credentials." + "description": "Environment variables configuration for the deployment." }, - "endpoint": { + "errorThreshold": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Azure cloud endpoint for the storage account." + "description": "Error threshold, if the error count for the entire input goes above this value,\r\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\r\nFor FileDataset, this value is the count of file failures.\r\nFor TabularDataset, this value is the count of record failures.\r\nIf set to -1 (the lower bound), all failures during batch inference will be ignored." }, - "protocol": { + "loggingLevel": { "oneOf": [ { "type": "string", - "pattern": "[a-zA-Z0-9_]" + "enum": [ + "Info", + "Warning", + "Debug" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Protocol used to communicate with the storage account." - } - }, - "required": [ - "accountName", - "containerName", - "contentsType", - "credentials", - "endpoint", - "protocol" - ], - "description": "Azure Data Lake Gen2 datastore configuration." - }, - "AzureFileContents": { - "type": "object", - "properties": { - "accountName": { + "description": "Logging level for batch inference operation." + }, + "miniBatchSize": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Storage account name." + "description": "Size of the mini-batch passed to each batch invocation.\r\nFor FileDataset, this is the number of files per mini-batch.\r\nFor TabularDataset, this is the size of the records in bytes, per mini-batch." }, - "containerName": { + "model": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "$ref": "#/definitions/AssetReferenceBase" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Storage account container name." - }, - "contentsType": { - "type": "string", - "enum": [ - "AzureFile" - ] + "description": "Base definition for asset references." }, - "credentials": { + "outputConfiguration": { "oneOf": [ { - "$ref": "#/definitions/DatastoreCredentials" + "$ref": "#/definitions/BatchOutputConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Base definition for datastore credentials." + "description": "Batch inference output configuration." }, - "endpoint": { + "partitionKeys": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "type": "array", + "items": { + "type": "string" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Azure cloud endpoint for the storage account." + "description": "Partition keys list used for Named partitioning." }, - "protocol": { + "properties": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Protocol used to communicate with the storage account." - } - }, - "required": [ - "accountName", - "containerName", - "contentsType", - "credentials", - "endpoint", - "protocol" - ], - "description": "Azure File datastore configuration." - }, - "AzurePostgreSqlContents": { - "type": "object", - "properties": { - "contentsType": { - "type": "string", - "enum": [ - "AzurePostgreSql" - ] + "description": "Property dictionary. Properties can be added, but not removed or altered." }, - "credentials": { + "retrySettings": { "oneOf": [ { - "$ref": "#/definitions/DatastoreCredentials" + "$ref": "#/definitions/BatchRetrySettings" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Base definition for datastore credentials." - }, - "databaseName": { + "description": "Retry settings for a batch inference operation." + } + }, + "description": "Batch inference settings per deployment." + }, + "BatchEndpoint": { + "type": "object", + "properties": { + "authMode": { "oneOf": [ { "type": "string", - "pattern": "[a-zA-Z0-9_]" + "enum": [ + "AMLToken", + "Key", + "AADToken" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Azure SQL database name." + "description": "Enum to determine endpoint authentication mode." }, - "enableSSL": { + "description": { + "type": "string", + "description": "Description of the inference endpoint." + }, + "keys": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/EndpointAuthKeys" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether the Azure PostgreSQL server requires SSL." + "description": "Keys for endpoint authentication." }, - "endpoint": { + "properties": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Azure cloud endpoint for the database." + "description": "Property dictionary. Properties can be added, but not removed or altered." }, - "portNumber": { + "traffic": { "oneOf": [ { - "type": "integer" + "type": "object", + "additionalProperties": { + "type": "integer" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Azure SQL server port." + "description": "Traffic rules on how the traffic will be routed across deployments." + } + }, + "description": "Batch endpoint configuration." + }, + "BatchOutputConfiguration": { + "type": "object", + "properties": { + "appendRowFileName": { + "type": "string", + "description": "Customized output file name for append_row output action." }, - "serverName": { + "outputAction": { "oneOf": [ { "type": "string", - "pattern": "[a-zA-Z0-9_]" + "enum": [ + "SummaryOnly", + "AppendRow" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Azure SQL server name." + "description": "Indicates how the output will be organized." } }, - "required": [ - "contentsType", - "credentials", - "databaseName", - "endpoint", - "portNumber", - "serverName" - ], - "description": "Azure Postgre SQL datastore configuration." + "description": "Batch inference output configuration." }, - "AzureSqlDatabaseContents": { + "BatchRetrySettings": { "type": "object", "properties": { - "contentsType": { - "type": "string", - "enum": [ - "AzureSqlDatabase" - ] - }, - "credentials": { + "maxRetries": { "oneOf": [ { - "$ref": "#/definitions/DatastoreCredentials" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Base definition for datastore credentials." + "description": "Maximum retry count for a mini-batch" }, - "databaseName": { + "timeout": { + "type": "string", + "format": "duration", + "description": "Invocation timeout for a mini-batch, in ISO 8601 format." + } + }, + "description": "Retry settings for a batch inference operation." + }, + "CertificateDatastoreCredentials": { + "type": "object", + "properties": { + "authorityUrl": { + "type": "string", + "description": "Authority URL used for authentication." + }, + "clientId": { "oneOf": [ { "type": "string", - "pattern": "[a-zA-Z0-9_]" + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Azure SQL database name." + "description": "Service principal client ID." }, - "endpoint": { - "oneOf": [ + "credentialsType": { + "type": "string", + "enum": [ + "Certificate" + ] + }, + "resourceUri": { + "type": "string", + "description": "Resource the service principal has access to." + }, + "secrets": { + "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "$ref": "#/definitions/CertificateDatastoreSecrets" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Azure cloud endpoint for the database." + "description": "Datastore certificate secrets." }, - "portNumber": { + "tenantId": { "oneOf": [ { - "type": "integer" + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Azure SQL server port." + "description": "ID of the tenant to which the service principal belongs." }, - "serverName": { + "thumbprint": { "oneOf": [ { "type": "string", @@ -2557,177 +2364,210 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Azure SQL server name." + "description": "Thumbprint of the certificate used for authentication." } }, "required": [ - "contentsType", - "credentials", - "databaseName", - "endpoint", - "portNumber", - "serverName" + "clientId", + "credentialsType", + "tenantId", + "thumbprint" ], - "description": "Azure SQL Database datastore configuration." + "description": "Certificate datastore credentials configuration." }, - "BanditPolicy": { + "CertificateDatastoreSecrets": { "type": "object", "properties": { - "policyType": { + "certificate": { "type": "string", - "enum": [ - "Bandit" - ] - }, - "slackAmount": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] + "description": "Service principal certificate." + } + }, + "description": "Datastore certificate secrets." + }, + "CodeConfiguration": { + "type": "object", + "properties": { + "codeId": { + "type": "string", + "description": "ARM resource ID of the code asset." }, - "slackFactor": { + "scoringScript": { "oneOf": [ { - "type": "number" + "type": "string", + "pattern": "[a-zA-Z0-9_]", + "minLength": 1 }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The script to execute on startup. eg. \"score.py\"" } }, "required": [ - "policyType" + "scoringScript" ], - "description": "Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation" + "description": "Configuration for a scoring code asset." }, - "BatchDeployment": { + "CodeContainer": { "type": "object", "properties": { - "codeConfiguration": { + "description": { + "type": "string", + "description": "The asset description text." + }, + "properties": { "oneOf": [ { - "$ref": "#/definitions/CodeConfiguration" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Configuration for a scoring code asset." + "description": "The asset property dictionary." }, - "compute": { + "tags": { "oneOf": [ { - "$ref": "#/definitions/ComputeConfiguration" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Configuration for compute binding." - }, - "description": { + "description": "Tag dictionary. Tags can be added, removed, and updated." + } + }, + "description": "Container for code asset versions." + }, + "CodeVersion": { + "type": "object", + "properties": { + "datastoreId": { "type": "string", - "description": "Description of the endpoint deployment." + "description": "ARM resource ID of the datastore where the asset is located." }, - "environmentId": { + "description": { "type": "string", - "description": "ARM resource ID of the environment specification for the endpoint deployment." + "description": "The asset description text." }, - "environmentVariables": { + "isAnonymous": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Environment variables configuration for the deployment." + "description": "If the name version are system generated (anonymous registration)." }, - "errorThreshold": { + "path": { "oneOf": [ { - "type": "integer" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Error threshold, if the error count for the entire input goes above this value,\r\nthe batch inference will be aborted. Range is [-1, int.MaxValue].\r\nFor FileDataset, this value is the count of file failures.\r\nFor TabularDataset, this value is the count of record failures.\r\nIf set to -1 (the lower bound), all failures during batch inference will be ignored." + "description": "The path of the file/directory in the datastore." }, - "loggingLevel": { + "properties": { "oneOf": [ { - "type": "string", - "enum": [ - "Info", - "Warning", - "Debug" - ] + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Logging level for batch inference operation." + "description": "The asset property dictionary." }, - "miniBatchSize": { + "tags": { "oneOf": [ { - "type": "integer" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Size of the mini-batch passed to each batch invocation.\r\nFor FileDataset, this is the number of files per mini-batch.\r\nFor TabularDataset, this is the size of the records in bytes, per mini-batch." + "description": "Tag dictionary. Tags can be added, removed, and updated." + } + }, + "required": [ + "path" + ], + "description": "Code asset version details." + }, + "CommandJob": { + "type": "object", + "properties": { + "codeId": { + "type": "string", + "description": "ARM resource ID of the code asset." }, - "model": { + "command": { "oneOf": [ { - "$ref": "#/definitions/AssetReferenceBase" + "type": "string", + "pattern": "[a-zA-Z0-9_]", + "minLength": 1 }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Base definition for asset references." + "description": "The command to execute on startup of the job. eg. \"python train.py\"" }, - "outputConfiguration": { + "compute": { "oneOf": [ { - "$ref": "#/definitions/BatchOutputConfiguration" + "$ref": "#/definitions/ComputeConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Batch inference output configuration." + "description": "Configuration for compute binding." }, - "partitionKeys": { + "distribution": { "oneOf": [ { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/definitions/DistributionConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Partition keys list used for Named partitioning." + "description": "Base definition for job distribution configuration." }, - "properties": { + "environmentId": { + "type": "string", + "description": "The ARM resource ID of the Environment specification for the job." + }, + "environmentVariables": { "oneOf": [ { "type": "object", @@ -2740,118 +2580,142 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Property dictionary. Properties can be added, but not removed or altered." + "description": "Environment variables included in the job." }, - "retrySettings": { + "experimentName": { + "type": "string", + "description": "The name of the experiment the job belongs to. If not set, the job is placed in the \"Default\" experiment." + }, + "identity": { "oneOf": [ { - "$ref": "#/definitions/BatchRetrySettings" + "$ref": "#/definitions/IdentityConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Retry settings for a batch inference operation." - } - }, - "description": "Batch inference settings per deployment." - }, - "BatchEndpoint": { - "type": "object", - "properties": { - "authMode": { + "description": "Base definition for identity configuration." + }, + "inputDataBindings": { "oneOf": [ { - "type": "string", - "enum": [ - "AMLToken", - "Key", - "AADToken" - ] + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/InputDataBinding" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Enum to determine endpoint authentication mode." + "description": "Mapping of input data bindings used in the job." }, - "description": { + "jobType": { "type": "string", - "description": "Description of the inference endpoint." + "enum": [ + "Command" + ] }, - "keys": { + "outputDataBindings": { "oneOf": [ { - "$ref": "#/definitions/EndpointAuthKeys" + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/OutputDataBinding" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Keys for endpoint authentication." + "description": "Mapping of output data bindings used in the job." }, - "properties": { + "priority": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Property dictionary. Properties can be added, but not removed or altered." + "description": "Job priority for scheduling policy. Only applies to AMLCompute.\r\nPrivate preview feature and only available to users on the allow list." }, - "traffic": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "integer" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Traffic rules on how the traffic will be routed across deployments." + "timeout": { + "type": "string", + "format": "duration", + "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds." } }, - "description": "Batch endpoint configuration." + "required": [ + "command", + "compute", + "jobType" + ], + "description": "Command job definition." }, - "BatchOutputConfiguration": { + "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" + } + ], "properties": { - "appendRowFileName": { + "computeLocation": { "type": "string", - "description": "Customized output file name for append_row output action." + "description": "Location for the underlying compute" }, - "outputAction": { + "description": { + "type": "string", + "description": "The description of the Machine Learning compute." + }, + "disableLocalAuth": { "oneOf": [ { - "type": "string", - "enum": [ - "SummaryOnly", - "AppendRow" - ] + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Indicates how the output will be organized." + "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": "Batch inference output configuration." + "description": "Machine Learning compute object." }, - "BatchRetrySettings": { + "ComputeConfiguration": { "type": "object", "properties": { - "maxRetries": { + "instanceCount": { "oneOf": [ { "type": "integer" @@ -2860,1562 +2724,429 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Maximum retry count for a mini-batch" + "description": "Number of instances or nodes." }, - "timeout": { - "type": "string", - "format": "duration", - "description": "Invocation timeout for a mini-batch, in ISO 8601 format." - } - }, - "description": "Retry settings for a batch inference operation." - }, - "CertificateDatastoreCredentials": { - "type": "object", - "properties": { - "authorityUrl": { + "instanceType": { "type": "string", - "description": "Authority URL used for authentication." + "description": "SKU type to run on." }, - "clientId": { + "isLocal": { "oneOf": [ { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Service principal client ID." - }, - "credentialsType": { - "type": "string", - "enum": [ - "Certificate" - ] + "description": "Set to true for jobs running on local compute." }, - "resourceUri": { + "location": { "type": "string", - "description": "Resource the service principal has access to." - }, - "secrets": { - "oneOf": [ - { - "$ref": "#/definitions/CertificateDatastoreSecrets" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Datastore certificate secrets." + "description": "Location for virtual cluster run." }, - "tenantId": { + "properties": { "oneOf": [ { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "ID of the tenant to which the service principal belongs." + "description": "Additional properties." }, - "thumbprint": { - "oneOf": [ - { - "type": "string", - "pattern": "[a-zA-Z0-9_]" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Thumbprint of the certificate used for authentication." - } - }, - "required": [ - "clientId", - "credentialsType", - "tenantId", - "thumbprint" - ], - "description": "Certificate datastore credentials configuration." - }, - "CertificateDatastoreSecrets": { - "type": "object", - "properties": { - "certificate": { + "target": { "type": "string", - "description": "Service principal certificate." + "description": "ARM resource ID of the compute resource." } }, - "description": "Datastore certificate secrets." + "description": "Configuration for compute binding." }, - "CodeConfiguration": { + "ComputeInstance": { "type": "object", "properties": { - "codeId": { + "computeType": { "type": "string", - "description": "ARM resource ID of the code asset." + "enum": [ + "ComputeInstance" + ] }, - "scoringScript": { + "properties": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]", - "minLength": 1 + "$ref": "#/definitions/ComputeInstanceProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The script to execute on startup. eg. \"score.py\"" + "description": "Compute Instance properties" } }, "required": [ - "scoringScript" + "computeType" ], - "description": "Configuration for a scoring code asset." + "description": "An Azure Machine Learning compute instance." }, - "CodeContainer": { + "ComputeInstanceProperties": { "type": "object", "properties": { - "description": { - "type": "string", - "description": "The asset description text." - }, - "properties": { + "applicationSharingPolicy": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "type": "string", + "enum": [ + "Personal", + "Shared" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The asset property dictionary." + "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." }, - "tags": { + "computeInstanceAuthorizationType": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "type": "string", + "enum": [ + "personal" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Tag dictionary. Tags can be added, removed, and updated." - } - }, - "description": "Container for code asset versions." - }, - "CodeVersion": { - "type": "object", - "properties": { - "datastoreId": { - "type": "string", - "description": "ARM resource ID of the datastore where the asset is located." - }, - "description": { - "type": "string", - "description": "The asset description text." + "description": "The Compute Instance Authorization type. Available values are personal (default)." }, - "isAnonymous": { + "personalComputeInstanceSettings": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/PersonalComputeInstanceSettings" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "If the name version are system generated (anonymous registration)." + "description": "Settings for a personal compute instance." }, - "path": { + "schedules": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The path of the file/directory in the datastore." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The asset property dictionary." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tag dictionary. Tags can be added, removed, and updated." - } - }, - "required": [ - "path" - ], - "description": "Code asset version details." - }, - "CommandJob": { - "type": "object", - "properties": { - "codeId": { - "type": "string", - "description": "ARM resource ID of the code asset." - }, - "command": { - "oneOf": [ - { - "type": "string", - "pattern": "[a-zA-Z0-9_]", - "minLength": 1 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The command to execute on startup of the job. eg. \"python train.py\"" - }, - "compute": { - "oneOf": [ - { - "$ref": "#/definitions/ComputeConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration for compute binding." - }, - "distribution": { - "oneOf": [ - { - "$ref": "#/definitions/DistributionConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Base definition for job distribution configuration." - }, - "environmentId": { - "type": "string", - "description": "The ARM resource ID of the Environment specification for the job." - }, - "environmentVariables": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Environment variables included in the job." - }, - "experimentName": { - "type": "string", - "description": "The name of the experiment the job belongs to. If not set, the job is placed in the \"Default\" experiment." - }, - "identity": { - "oneOf": [ - { - "$ref": "#/definitions/IdentityConfiguration" + "$ref": "#/definitions/ComputeSchedules" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Base definition for identity configuration." + "description": "The list of schedules to be applied on the computes" }, - "inputDataBindings": { + "setupScripts": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/InputDataBinding" - }, - "properties": {} + "$ref": "#/definitions/SetupScripts" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Mapping of input data bindings used in the job." - }, - "jobType": { - "type": "string", - "enum": [ - "Command" - ] + "description": "Details of customized scripts to execute for setting up the cluster." }, - "outputDataBindings": { + "sshSettings": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/OutputDataBinding" - }, - "properties": {} + "$ref": "#/definitions/ComputeInstanceSshSettings" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Mapping of output data bindings used in the job." + "description": "Specifies policy and settings for SSH access." }, - "priority": { + "subnet": { "oneOf": [ { - "type": "integer" + "$ref": "#/definitions/ResourceId" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Job priority for scheduling policy. Only applies to AMLCompute.\r\nPrivate preview feature and only available to users on the allow list." + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet." }, - "timeout": { + "vmSize": { "type": "string", - "format": "duration", - "description": "The max run duration in ISO 8601 format, after which the job will be cancelled. Only supports duration with precision as low as Seconds." + "description": "Virtual Machine Size" } }, - "required": [ - "command", - "compute", - "jobType" - ], - "description": "Command job definition." + "description": "Compute Instance properties" }, - "Compute": { + "ComputeInstanceSshSettings": { "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" - } - ], "properties": { - "computeLocation": { - "type": "string", - "description": "Location for the underlying compute" - }, - "description": { + "adminPublicKey": { "type": "string", - "description": "The description of the Machine Learning compute." + "description": "Specifies the SSH rsa public key file as a string. Use \"ssh-keygen -t rsa -b 2048\" to generate your SSH key pairs." }, - "disableLocalAuth": { + "sshPublicAccess": { "oneOf": [ { - "type": "boolean" + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] }, { "$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": "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": "Machine Learning compute object." + "description": "Specifies policy and settings for SSH access." }, - "ComputeConfiguration": { + "ComputeSchedules": { "type": "object", - "properties": { - "instanceCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Number of instances or nodes." - }, - "instanceType": { - "type": "string", - "description": "SKU type to run on." - }, - "isLocal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Set to true for jobs running on local compute." - }, - "location": { - "type": "string", - "description": "Location for virtual cluster run." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Additional properties." - }, - "target": { - "type": "string", - "description": "ARM resource ID of the compute resource." - } - }, - "description": "Configuration for compute binding." - }, - "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": "An Azure Machine Learning compute instance." - }, - "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." - }, - "schedules": { - "oneOf": [ - { - "$ref": "#/definitions/ComputeSchedules" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of schedules to be applied on the computes" - }, - "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." - }, - "ComputeSchedules": { - "type": "object", - "properties": { - "computeStartStop": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ComputeStartStopSchedule" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of compute start stop schedules to be applied." - } - }, - "description": "The list of schedules to be applied on the computes" - }, - "ComputeStartStopSchedule": { - "type": "object", - "properties": { - "action": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Start", - "Stop" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "cron": { - "oneOf": [ - { - "$ref": "#/definitions/Cron" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The workflow trigger cron for ComputeStartStop schedule type." - }, - "recurrence": { - "oneOf": [ - { - "$ref": "#/definitions/Recurrence" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The workflow trigger recurrence for ComputeStartStop schedule type." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "triggerType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Recurrence", - "Cron" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "Compute start stop schedule properties" - }, - "ContainerResourceRequirements": { - "type": "object", - "properties": { - "cpu": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The minimum amount of CPU cores to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" - }, - "cpuLimit": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" - }, - "fpga": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2." - }, - "gpu": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of GPU cores in the container." - }, - "memoryInGB": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The minimum amount of memory (in GB) to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" - }, - "memoryInGBLimit": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" - } - }, - "description": "The resource requirements for the container (cpu and memory)." - }, - "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" - } - } - }, - "CreateEndpointVariantRequest": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AKSServiceCreateRequest" - } - ], - "properties": { - "computeType": { - "type": "string", - "enum": [ - "Custom" - ] - }, - "isDefault": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Is this the default variant." - }, - "trafficPercentile": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The amount of traffic variant receives." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Control", - "Treatment" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the variant." - } - }, - "required": [ - "computeType" - ], - "description": "The Variant properties." - }, - "CreateServiceRequestEnvironmentImageRequest": { - "type": "object", - "properties": { - "assets": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ImageAsset" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of assets." - }, - "driverProgram": { - "type": "string", - "description": "The name of the driver file." - }, - "environment": { - "oneOf": [ - { - "$ref": "#/definitions/EnvironmentImageRequestEnvironment" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The details of the AZURE ML environment." - }, - "environmentReference": { - "oneOf": [ - { - "$ref": "#/definitions/EnvironmentImageRequestEnvironmentReference" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The unique identifying details of the AZURE ML environment." - }, - "modelIds": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of model Ids." - }, - "models": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Model" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of models." - } - }, - "description": "The Environment, models and assets needed for inferencing." - }, - "CreateServiceRequestKeys": { - "type": "object", - "properties": { - "primaryKey": { - "type": "string", - "description": "The primary key." - }, - "secondaryKey": { - "type": "string", - "description": "The secondary key." - } - }, - "description": "The authentication keys." - }, - "Cron": { - "type": "object", - "properties": { - "expression": { - "type": "string", - "description": "The cron expression." - }, - "startTime": { - "type": "string", - "description": "The start time." - }, - "timeZone": { - "type": "string", - "description": "The time zone." - } - }, - "description": "The workflow trigger cron for ComputeStartStop schedule type." - }, - "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" - } - ] - } - }, - "required": [ - "computeType" - ], - "description": "A DataFactory compute." - }, - "DatabricksProperties": { - "type": "object", - "properties": { - "databricksAccessToken": { - "type": "string", - "description": "Databricks access token" - }, - "workspaceUrl": { - "type": "string", - "description": "Workspace Url" - } - } - }, - "DataContainer": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The asset description text." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The asset property dictionary." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tag dictionary. Tags can be added, removed, and updated." - } - }, - "description": "Container for data asset versions." - }, - "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" - } - } - }, - "DataPathAssetReference": { - "type": "object", - "properties": { - "datastoreId": { - "type": "string", - "description": "ARM resource ID of the datastore where the asset is located." - }, - "path": { - "type": "string", - "description": "The path of the file/directory in the datastore." - }, - "referenceType": { - "type": "string", - "enum": [ - "DataPath" - ] - } - }, - "required": [ - "referenceType" - ], - "description": "Reference to an asset via its path in a datastore." - }, - "DatasetReference": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The id of the dataset reference." - }, - "name": { - "type": "string", - "description": "The name of the dataset reference." - } - }, - "description": "The dataset reference object." - }, - "DatastoreContents": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AzureBlobContents" - }, - { - "$ref": "#/definitions/AzureDataLakeGen1Contents" - }, - { - "$ref": "#/definitions/AzureDataLakeGen2Contents" - }, - { - "$ref": "#/definitions/AzureFileContents" - }, - { - "$ref": "#/definitions/AzurePostgreSqlContents" - }, - { - "$ref": "#/definitions/AzureSqlDatabaseContents" - }, - { - "$ref": "#/definitions/GlusterFsContents" - } - ], - "properties": {}, - "description": "Base definition for datastore contents configuration." - }, - "DatastoreCredentials": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AccountKeyDatastoreCredentials" - }, - { - "$ref": "#/definitions/CertificateDatastoreCredentials" - }, - { - "$ref": "#/definitions/NoneDatastoreCredentials" - }, - { - "$ref": "#/definitions/SasDatastoreCredentials" - }, - { - "$ref": "#/definitions/ServicePrincipalDatastoreCredentials" - }, - { - "$ref": "#/definitions/SqlAdminDatastoreCredentials" - } - ], - "properties": {}, - "description": "Base definition for datastore credentials." - }, - "DatastoreProperties": { - "type": "object", - "properties": { - "contents": { - "oneOf": [ - { - "$ref": "#/definitions/DatastoreContents" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Base definition for datastore contents configuration." - }, - "description": { - "type": "string", - "description": "The asset description text." - }, - "isDefault": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this datastore is the default for the workspace." - }, - "linkedInfo": { - "oneOf": [ - { - "$ref": "#/definitions/LinkedInfo" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about a datastore origin, if linked." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The asset property dictionary." - }, - "tags": { + "properties": { + "computeStartStop": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "type": "array", + "items": { + "$ref": "#/definitions/ComputeStartStopSchedule" + } }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Tag dictionary. Tags can be added, removed, and updated." + "description": "The list of compute start stop schedules to be applied." } }, - "required": [ - "contents" - ], - "description": "Datastore definition." + "description": "The list of schedules to be applied on the computes" }, - "DataVersion": { + "ComputeStartStopSchedule": { "type": "object", "properties": { - "datasetType": { + "action": { "oneOf": [ { "type": "string", "enum": [ - "Simple", - "Dataflow" + "Start", + "Stop" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "The Format of dataset." - }, - "datastoreId": { - "type": "string", - "description": "ARM resource ID of the datastore where the asset is located." - }, - "description": { - "type": "string", - "description": "The asset description text." + ] }, - "isAnonymous": { + "cron": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/Cron" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "If the name version are system generated (anonymous registration)." + "description": "The workflow trigger cron for ComputeStartStop schedule type." }, - "path": { + "recurrence": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "$ref": "#/definitions/Recurrence" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The path of the file/directory in the datastore." + "description": "The workflow trigger recurrence for ComputeStartStop schedule type." }, - "properties": { + "status": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "The asset property dictionary." + ] }, - "tags": { + "triggerType": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "type": "string", + "enum": [ + "Recurrence", + "Cron" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "Tag dictionary. Tags can be added, removed, and updated." + ] } }, - "required": [ - "path" - ], - "description": "Data asset version details." - }, - "DistributionConfiguration": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/Mpi" - }, - { - "$ref": "#/definitions/PyTorch" - }, - { - "$ref": "#/definitions/TensorFlow" - } - ], - "properties": {}, - "description": "Base definition for job distribution configuration." + "description": "Compute start stop schedule properties" }, - "DockerBuild": { + "ContainerResourceRequirements": { "type": "object", "properties": { - "context": { - "type": "string", - "description": "Path to a snapshot of the Docker Context. This property is only valid if Dockerfile is specified.\r\nThe path is relative to the asset path which must contain a single Blob URI value.\r\n" - }, - "dockerfile": { + "cpu": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "type": "number" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Docker command line instructions to assemble an image.\r\n" + "description": "The minimum amount of CPU cores to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" }, - "dockerSpecificationType": { - "type": "string", - "enum": [ - "Build" - ] - } - }, - "required": [ - "dockerfile", - "dockerSpecificationType" - ], - "description": "Class to represent configuration settings for Docker Build" - }, - "DockerImage": { - "type": "object", - "properties": { - "dockerImageUri": { + "cpuLimit": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "type": "number" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Image name of a custom base image.\r\n" + "description": "The maximum amount of CPU cores allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" }, - "dockerSpecificationType": { - "type": "string", - "enum": [ - "Image" - ] - } - }, - "required": [ - "dockerImageUri", - "dockerSpecificationType" - ], - "description": "Class to represent configuration settings for Docker Build" - }, - "DockerImagePlatform": { - "type": "object", - "properties": { - "operatingSystemType": { + "fpga": { "oneOf": [ { - "type": "string", - "enum": [ - "Linux", - "Windows" - ] + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The OS type the Environment." - } - } - }, - "DockerSpecification": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/DockerBuild" + "description": "The number of FPGA PCIE devices exposed to the container. Must be multiple of 2." }, - { - "$ref": "#/definitions/DockerImage" - } - ], - "properties": { - "platform": { + "gpu": { "oneOf": [ { - "$ref": "#/definitions/DockerImagePlatform" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] - } - }, - "description": "Configuration settings for Docker" - }, - "EarlyTerminationPolicy": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/BanditPolicy" - }, - { - "$ref": "#/definitions/MedianStoppingPolicy" + ], + "description": "The number of GPU cores in the container." }, - { - "$ref": "#/definitions/TruncationSelectionPolicy" - } - ], - "properties": { - "delayEvaluation": { + "memoryInGB": { "oneOf": [ { - "type": "integer" + "type": "number" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The minimum amount of memory (in GB) to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" }, - "evaluationInterval": { + "memoryInGBLimit": { "oneOf": [ { - "type": "integer" + "type": "number" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The maximum amount of memory (in GB) allowed to be used by the container. More info:\nhttps://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/" } }, - "description": "Early termination policies enable canceling poor-performing runs before they complete" + "description": "The resource requirements for the container (cpu and memory)." }, - "EncryptionProperty": { + "CosmosDbSettings": { "type": "object", "properties": { - "identity": { + "collectionsThroughput": { "oneOf": [ { - "$ref": "#/definitions/IdentityForCmk" + "type": "integer" }, { "$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" + "description": "The throughput of the collections in cosmosdb database" + } + } + }, + "Cron": { + "type": "object", + "properties": { + "expression": { + "type": "string", + "description": "The cron expression." }, - "keyVaultProperties": { - "oneOf": [ - { - "$ref": "#/definitions/KeyVaultProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } + "startTime": { + "type": "string", + "description": "The start time." + }, + "timeZone": { + "type": "string", + "description": "The time zone." + } + }, + "description": "The workflow trigger cron for ComputeStartStop schedule type." + }, + "Databricks": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "Databricks" ] }, - "status": { + "properties": { "oneOf": [ { - "type": "string", - "enum": [ - "Enabled", - "Disabled" - ] + "$ref": "#/definitions/DatabricksProperties" }, { "$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" - ] + "computeType" + ], + "description": "A DataFactory compute." }, - "EndpointAuthKeys": { + "DatabricksProperties": { "type": "object", "properties": { - "primaryKey": { + "databricksAccessToken": { "type": "string", - "description": "The primary key." + "description": "Databricks access token" }, - "secondaryKey": { + "workspaceUrl": { "type": "string", - "description": "The secondary key." + "description": "Workspace Url" } - }, - "description": "Keys for endpoint authentication." + } }, - "EnvironmentContainer": { + "DataContainer": { "type": "object", "properties": { "description": { @@ -4453,141 +3184,172 @@ "description": "Tag dictionary. Tags can be added, removed, and updated." } }, - "description": "Container for environment specification versions." + "description": "Container for data asset versions." }, - "EnvironmentImageRequestEnvironment": { + "DataFactory": { "type": "object", "properties": { - "docker": { - "oneOf": [ - { - "$ref": "#/definitions/ModelEnvironmentDefinitionDocker" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The definition of a Docker container." - }, - "environmentVariables": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Definition of environment variables to be defined in the environment." - }, - "inferencingStackVersion": { + "computeType": { "type": "string", - "description": "The inferencing stack version added to the image. To avoid adding an inferencing stack, do not set this value. Valid values: \"latest\"." - }, - "name": { + "enum": [ + "DataFactory" + ] + } + }, + "required": [ + "computeType" + ], + "description": "A DataFactory compute." + }, + "DataLakeAnalytics": { + "type": "object", + "properties": { + "computeType": { "type": "string", - "description": "The name of the environment." - }, - "python": { - "oneOf": [ - { - "$ref": "#/definitions/ModelEnvironmentDefinitionPython" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Settings for a Python environment." - }, - "r": { - "oneOf": [ - { - "$ref": "#/definitions/ModelEnvironmentDefinitionR" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Settings for a R environment." + "enum": [ + "DataLakeAnalytics" + ] }, - "spark": { + "properties": { "oneOf": [ { - "$ref": "#/definitions/ModelEnvironmentDefinitionSpark" + "$ref": "#/definitions/DataLakeAnalyticsProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "The configuration for a Spark environment." - }, - "version": { - "type": "string", - "description": "The environment version." + ] } }, - "description": "The details of the AZURE ML environment." + "required": [ + "computeType" + ], + "description": "A DataLakeAnalytics compute." }, - "EnvironmentImageRequestEnvironmentReference": { + "DataLakeAnalyticsProperties": { "type": "object", "properties": { - "name": { - "type": "string", - "description": "Name of the environment." - }, - "version": { + "dataLakeStoreAccountName": { "type": "string", - "description": "Version of the environment." + "description": "DataLake Store Account Name" } - }, - "description": "The unique identifying details of the AZURE ML environment." + } }, - "EnvironmentSpecificationVersion": { + "DataPathAssetReference": { "type": "object", "properties": { - "condaFile": { + "datastoreId": { "type": "string", - "description": "Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.\r\n" + "description": "ARM resource ID of the datastore where the asset is located." }, - "description": { + "path": { "type": "string", - "description": "The asset description text." + "description": "The path of the file/directory in the datastore." }, - "docker": { + "referenceType": { + "type": "string", + "enum": [ + "DataPath" + ] + } + }, + "required": [ + "referenceType" + ], + "description": "Reference to an asset via its path in a datastore." + }, + "DatastoreContents": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureBlobContents" + }, + { + "$ref": "#/definitions/AzureDataLakeGen1Contents" + }, + { + "$ref": "#/definitions/AzureDataLakeGen2Contents" + }, + { + "$ref": "#/definitions/AzureFileContents" + }, + { + "$ref": "#/definitions/AzurePostgreSqlContents" + }, + { + "$ref": "#/definitions/AzureSqlDatabaseContents" + }, + { + "$ref": "#/definitions/GlusterFsContents" + } + ], + "properties": {}, + "description": "Base definition for datastore contents configuration." + }, + "DatastoreCredentials": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AccountKeyDatastoreCredentials" + }, + { + "$ref": "#/definitions/CertificateDatastoreCredentials" + }, + { + "$ref": "#/definitions/NoneDatastoreCredentials" + }, + { + "$ref": "#/definitions/SasDatastoreCredentials" + }, + { + "$ref": "#/definitions/ServicePrincipalDatastoreCredentials" + }, + { + "$ref": "#/definitions/SqlAdminDatastoreCredentials" + } + ], + "properties": {}, + "description": "Base definition for datastore credentials." + }, + "DatastoreProperties": { + "type": "object", + "properties": { + "contents": { "oneOf": [ { - "$ref": "#/definitions/DockerSpecification" + "$ref": "#/definitions/DatastoreContents" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Configuration settings for Docker" + "description": "Base definition for datastore contents configuration." }, - "inferenceContainerProperties": { + "description": { + "type": "string", + "description": "The asset description text." + }, + "isDefault": { "oneOf": [ { - "$ref": "#/definitions/InferenceContainerProperties" + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Whether this datastore is the default for the workspace." }, - "isAnonymous": { + "linkedInfo": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/LinkedInfo" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "If the name version are system generated (anonymous registration)." + "description": "Information about a datastore origin, if linked." }, "properties": { "oneOf": [ @@ -4620,49 +3382,49 @@ "description": "Tag dictionary. Tags can be added, removed, and updated." } }, - "description": "Environment specification version details.\r\n" + "required": [ + "contents" + ], + "description": "Datastore definition." }, - "FlavorData": { + "DataVersion": { "type": "object", "properties": { - "data": { + "datasetType": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "type": "string", + "enum": [ + "Simple", + "Dataflow" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] - } - } - }, - "GlusterFsContents": { - "type": "object", - "properties": { - "contentsType": { + ], + "description": "The Format of dataset." + }, + "datastoreId": { "type": "string", - "enum": [ - "GlusterFs" - ] + "description": "ARM resource ID of the datastore where the asset is located." }, - "serverAddress": { + "description": { + "type": "string", + "description": "The asset description text." + }, + "isAnonymous": { "oneOf": [ { - "type": "string", - "pattern": "[a-zA-Z0-9_]" + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "GlusterFS server address (can be the IP address or server name)." + "description": "If the name version are system generated (anonymous registration)." }, - "volumeName": { + "path": { "oneOf": [ { "type": "string", @@ -4672,76 +3434,96 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "GlusterFS volume name." - } - }, - "required": [ - "contentsType", - "serverAddress", - "volumeName" - ], - "description": "GlusterFs datastore configuration." - }, - "HDInsight": { - "type": "object", - "properties": { - "computeType": { - "type": "string", - "enum": [ - "HDInsight" - ] + "description": "The path of the file/directory in the datastore." }, "properties": { "oneOf": [ { - "$ref": "#/definitions/HDInsightProperties" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The asset property dictionary." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Tag dictionary. Tags can be added, removed, and updated." } }, "required": [ - "computeType" + "path" ], - "description": "A HDInsight compute." + "description": "Data asset version details." }, - "HDInsightProperties": { + "DistributionConfiguration": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/Mpi" + }, + { + "$ref": "#/definitions/PyTorch" + }, + { + "$ref": "#/definitions/TensorFlow" + } + ], + "properties": {}, + "description": "Base definition for job distribution configuration." + }, + "DockerBuild": { "type": "object", "properties": { - "address": { + "context": { "type": "string", - "description": "Public IP address of the master node of the cluster." + "description": "Path to a snapshot of the Docker Context. This property is only valid if Dockerfile is specified.\r\nThe path is relative to the asset path which must contain a single Blob URI value.\r\n" }, - "administratorAccount": { + "dockerfile": { "oneOf": [ { - "$ref": "#/definitions/VirtualMachineSshCredentials" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Admin credentials for virtual machine" + "description": "Docker command line instructions to assemble an image.\r\n" }, - "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." + "dockerSpecificationType": { + "type": "string", + "enum": [ + "Build" + ] } - } + }, + "required": [ + "dockerfile", + "dockerSpecificationType" + ], + "description": "Class to represent configuration settings for Docker Build" }, - "IdAssetReference": { + "DockerImage": { "type": "object", "properties": { - "assetId": { + "dockerImageUri": { "oneOf": [ { "type": "string", @@ -4751,185 +3533,163 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "ARM resource ID of the asset." + "description": "Image name of a custom base image.\r\n" }, - "referenceType": { + "dockerSpecificationType": { "type": "string", "enum": [ - "Id" + "Image" ] } }, "required": [ - "assetId", - "referenceType" + "dockerImageUri", + "dockerSpecificationType" ], - "description": "Reference to an asset via its ARM resource ID." + "description": "Class to represent configuration settings for Docker Build" }, - "Identity": { + "DockerImagePlatform": { "type": "object", "properties": { - "type": { + "operatingSystemType": { "oneOf": [ { "type": "string", "enum": [ - "SystemAssigned", - "SystemAssigned,UserAssigned", - "UserAssigned", - "None" + "Linux", + "Windows" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The identity type." + "description": "The OS type the Environment." + } + } + }, + "DockerSpecification": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/DockerBuild" }, - "userAssignedIdentities": { + { + "$ref": "#/definitions/DockerImage" + } + ], + "properties": { + "platform": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/UserAssignedIdentity" - }, - "properties": {} + "$ref": "#/definitions/DockerImagePlatform" }, { "$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." + "description": "Configuration settings for Docker" }, - "IdentityConfiguration": { + "EarlyTerminationPolicy": { "type": "object", "oneOf": [ { - "$ref": "#/definitions/AmlToken" + "$ref": "#/definitions/BanditPolicy" }, { - "$ref": "#/definitions/ManagedIdentity" + "$ref": "#/definitions/MedianStoppingPolicy" + }, + { + "$ref": "#/definitions/TruncationSelectionPolicy" } ], - "properties": {}, - "description": "Base definition for identity configuration." - }, - "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" - }, - "ImageAsset": { - "type": "object", "properties": { - "id": { - "type": "string", - "description": "The Asset Id." - }, - "mimeType": { - "type": "string", - "description": "The mime type." - }, - "unpack": { + "delayEvaluation": { "oneOf": [ { - "type": "boolean" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "Whether the Asset is unpacked." + ] }, - "url": { - "type": "string", - "description": "The Url of the Asset." - } - }, - "description": "An Image asset." - }, - "InferenceContainerProperties": { - "type": "object", - "properties": { - "livenessRoute": { + "evaluationInterval": { "oneOf": [ { - "$ref": "#/definitions/Route" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ] - }, - "readinessRoute": { + } + }, + "description": "Early termination policies enable canceling poor-performing runs before they complete" + }, + "EncryptionProperty": { + "type": "object", + "properties": { + "identity": { "oneOf": [ { - "$ref": "#/definitions/Route" + "$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" }, - "scoringRoute": { + "keyVaultProperties": { "oneOf": [ { - "$ref": "#/definitions/Route" + "$ref": "#/definitions/KeyVaultProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ] - } - } - }, - "InputDataBinding": { - "type": "object", - "properties": { - "dataId": { - "type": "string", - "description": "ARM resource ID of the registered dataVersion." }, - "mode": { + "status": { "oneOf": [ { "type": "string", "enum": [ - "Mount", - "Download", - "Upload" + "Enabled", + "Disabled" ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Mechanism for accessing the data artifact." + "description": "Indicates whether or not the encryption is enabled for the workspace." + } + }, + "required": [ + "keyVaultProperties", + "status" + ] + }, + "EndpointAuthKeys": { + "type": "object", + "properties": { + "primaryKey": { + "type": "string", + "description": "The primary key." }, - "pathOnCompute": { + "secondaryKey": { "type": "string", - "description": "Location of data inside the container process." + "description": "The secondary key." } - } + }, + "description": "Keys for endpoint authentication." }, - "JobBase": { + "EnvironmentContainer": { "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/CommandJob" - }, - { - "$ref": "#/definitions/SweepJob" - } - ], "properties": { "description": { "type": "string", @@ -4966,58 +3726,41 @@ "description": "Tag dictionary. Tags can be added, removed, and updated." } }, - "description": "Base definition for a job." + "description": "Container for environment specification versions." }, - "K8sOnlineDeployment": { + "EnvironmentSpecificationVersion": { "type": "object", "properties": { - "containerResourceRequirements": { + "condaFile": { + "type": "string", + "description": "Standard configuration file used by Conda that lets you install any kind of package, including Python, R, and C/C++ packages.\r\n" + }, + "description": { + "type": "string", + "description": "The asset description text." + }, + "docker": { "oneOf": [ { - "$ref": "#/definitions/ContainerResourceRequirements" + "$ref": "#/definitions/DockerSpecification" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The resource requirements for the container (cpu and memory)." + "description": "Configuration settings for Docker" }, - "endpointComputeType": { - "type": "string", - "enum": [ - "K8S" + "inferenceContainerProperties": { + "oneOf": [ + { + "$ref": "#/definitions/InferenceContainerProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } ] - } - }, - "required": [ - "endpointComputeType" - ] - }, - "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" - ] - }, - "LabelCategory": { - "type": "object", - "properties": { - "allowMultiSelect": { + "isAnonymous": { "oneOf": [ { "type": "boolean" @@ -5026,14 +3769,14 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Indicates whether it is allowed to select multiple classes in this category." + "description": "If the name version are system generated (anonymous registration)." }, - "classes": { + "properties": { "oneOf": [ { "type": "object", "additionalProperties": { - "$ref": "#/definitions/LabelClass" + "type": "string" }, "properties": {} }, @@ -5041,28 +3784,14 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Dictionary of label classes in this category." - }, - "displayName": { - "type": "string", - "description": "Display name of the label category." - } - }, - "description": "Label category definition" - }, - "LabelClass": { - "type": "object", - "properties": { - "displayName": { - "type": "string", - "description": "Display name of the label class." + "description": "The asset property dictionary." }, - "subclasses": { + "tags": { "oneOf": [ { "type": "object", "additionalProperties": { - "type": "object" + "type": "string" }, "properties": {} }, @@ -5070,139 +3799,181 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Dictionary of subclasses of the label class." + "description": "Tag dictionary. Tags can be added, removed, and updated." } }, - "description": "Label class definition" + "description": "Environment specification version details.\r\n" }, - "LabelingDatasetConfiguration": { + "FlavorData": { "type": "object", "properties": { - "assetName": { - "type": "string", - "description": "Name of the data asset to perform labeling." - }, - "datasetVersion": { - "type": "string", - "description": "AML dataset version." - }, - "incrementalDatasetRefreshEnabled": { + "data": { "oneOf": [ { - "type": "boolean" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "Indicates whether to enable incremental dataset refresh." + ] } - }, - "description": "Labeling dataset configuration definition" + } }, - "LabelingJob": { + "GlusterFsContents": { "type": "object", "properties": { - "datasetConfiguration": { + "contentsType": { + "type": "string", + "enum": [ + "GlusterFs" + ] + }, + "serverAddress": { "oneOf": [ { - "$ref": "#/definitions/LabelingDatasetConfiguration" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Labeling dataset configuration definition" - }, - "description": { - "type": "string", - "description": "The asset description text." + "description": "GlusterFS server address (can be the IP address or server name)." }, - "jobInstructions": { + "volumeName": { "oneOf": [ { - "$ref": "#/definitions/LabelingJobInstructions" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Instructions for labeling job" + "description": "GlusterFS volume name." + } + }, + "required": [ + "contentsType", + "serverAddress", + "volumeName" + ], + "description": "GlusterFs datastore configuration." + }, + "HDInsight": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "HDInsight" + ] }, - "jobType": { + "properties": { "oneOf": [ { - "type": "string", - "enum": [ - "Command", - "Sweep", - "Labeling" - ] + "$ref": "#/definitions/HDInsightProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "Specifies the type of job. This field should always be set to \"Labeling\"." + ] + } + }, + "required": [ + "computeType" + ], + "description": "A HDInsight compute." + }, + "HDInsightProperties": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "Public IP address of the master node of the cluster." }, - "labelCategories": { + "administratorAccount": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/LabelCategory" - }, - "properties": {} + "$ref": "#/definitions/VirtualMachineSshCredentials" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Label categories of the job." + "description": "Admin credentials for virtual machine" }, - "labelingJobMediaProperties": { + "sshPort": { "oneOf": [ { - "$ref": "#/definitions/LabelingJobMediaProperties" + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Properties of a labeling job" - }, - "mlAssistConfiguration": { + "description": "Port open for ssh connections on the master node of the cluster." + } + } + }, + "IdAssetReference": { + "type": "object", + "properties": { + "assetId": { "oneOf": [ { - "$ref": "#/definitions/MLAssistConfiguration" + "type": "string", + "pattern": "[a-zA-Z0-9_]" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Labeling MLAssist configuration definition" + "description": "ARM resource ID of the asset." }, - "properties": { + "referenceType": { + "type": "string", + "enum": [ + "Id" + ] + } + }, + "required": [ + "assetId", + "referenceType" + ], + "description": "Reference to an asset via its ARM resource ID." + }, + "Identity": { + "type": "object", + "properties": { + "type": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "type": "string", + "enum": [ + "SystemAssigned", + "SystemAssigned,UserAssigned", + "UserAssigned", + "None" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The asset property dictionary." + "description": "The identity type." }, - "tags": { + "userAssignedIdentities": { "oneOf": [ { "type": "object", "additionalProperties": { - "type": "string" + "$ref": "#/definitions/UserAssignedIdentity" }, "properties": {} }, @@ -5210,439 +3981,359 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Tag dictionary. Tags can be added, removed, and updated." + "description": "dictionary containing all the user assigned identities, with resourceId of the UAI as key." } }, - "required": [ - "jobType" - ], - "description": "Labeling job definition" + "description": "Identity for the resource." }, - "LabelingJobImageProperties": { + "IdentityConfiguration": { "type": "object", - "properties": { - "annotationType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Classification", - "BoundingBox", - "InstanceSegmentation" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Annotation type of image labeling job." + "oneOf": [ + { + "$ref": "#/definitions/AmlToken" }, - "mediaType": { - "type": "string", - "enum": [ - "Image" - ] + { + "$ref": "#/definitions/ManagedIdentity" } - }, - "required": [ - "mediaType" ], - "description": "Properties of a labeling job for image data" + "properties": {}, + "description": "Base definition for identity configuration." }, - "LabelingJobInstructions": { + "IdentityForCmk": { "type": "object", "properties": { - "uri": { + "userAssignedIdentity": { "type": "string", - "description": "The link to a page with detailed labeling instructions for labelers." + "description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault" } }, - "description": "Instructions for labeling job" - }, - "LabelingJobMediaProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/LabelingJobImageProperties" - }, - { - "$ref": "#/definitions/LabelingJobTextProperties" - } - ], - "properties": {}, - "description": "Properties of a labeling job" + "description": "Identity that will be used to access key vault for encryption at rest" }, - "LabelingJobTextProperties": { + "InferenceContainerProperties": { "type": "object", "properties": { - "annotationType": { + "livenessRoute": { "oneOf": [ { - "type": "string", - "enum": [ - "Classification" - ] + "$ref": "#/definitions/Route" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "Annotation type of text labeling job." - }, - "mediaType": { - "type": "string", - "enum": [ - "Text" ] - } - }, - "required": [ - "mediaType" - ], - "description": "Properties of a labeling job for text data" - }, - "LinkedInfo": { - "type": "object", - "properties": { - "linkedId": { - "type": "string", - "description": "Linked service ID." - }, - "linkedResourceName": { - "type": "string", - "description": "Linked service resource name." }, - "origin": { + "readinessRoute": { "oneOf": [ { - "type": "string", - "enum": [ - "Synapse" - ] + "$ref": "#/definitions/Route" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "Type of the linked service." - } - }, - "description": "Information about a datastore origin, if linked." - }, - "ManagedIdentity": { - "type": "object", - "properties": { - "clientId": { + ] + }, + "scoringRoute": { "oneOf": [ { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + "$ref": "#/definitions/Route" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "Specifies a user-assigned identity by client ID. For system-assigned, do not set this field." - }, - "identityType": { - "type": "string", - "enum": [ - "Managed" ] + } + } + }, + "InputDataBinding": { + "type": "object", + "properties": { + "dataId": { + "type": "string", + "description": "ARM resource ID of the registered dataVersion." }, - "objectId": { + "mode": { "oneOf": [ { "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" + "enum": [ + "Mount", + "Download", + "Upload" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Specifies a user-assigned identity by object ID. For system-assigned, do not set this field." + "description": "Mechanism for accessing the data artifact." }, - "resourceId": { + "pathOnCompute": { "type": "string", - "description": "Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field." + "description": "Location of data inside the container process." } - }, - "required": [ - "identityType" - ], - "description": "Managed identity configuration." + } }, - "ManagedOnlineDeployment": { + "JobBase": { "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/CommandJob" + }, + { + "$ref": "#/definitions/SweepJob" + } + ], "properties": { - "endpointComputeType": { + "description": { "type": "string", - "enum": [ - "Managed" - ] + "description": "The asset description text." }, - "instanceType": { - "type": "string" + "properties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The asset property dictionary." }, - "readinessProbe": { + "tags": { "oneOf": [ { - "$ref": "#/definitions/ProbeSettings" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Tag dictionary. Tags can be added, removed, and updated." } }, - "required": [ - "endpointComputeType" - ] + "description": "Base definition for a job." }, - "ManualScaleSettings": { + "K8sOnlineDeployment": { "type": "object", "properties": { - "instanceCount": { + "containerResourceRequirements": { "oneOf": [ { - "type": "integer" + "$ref": "#/definitions/ContainerResourceRequirements" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The resource requirements for the container (cpu and memory)." }, - "scaleType": { + "endpointComputeType": { "type": "string", "enum": [ - "Manual" + "K8S" ] } }, "required": [ - "scaleType" + "endpointComputeType" ] }, - "MedianStoppingPolicy": { + "KeyVaultProperties": { "type": "object", "properties": { - "policyType": { + "identityClientId": { "type": "string", - "enum": [ - "MedianStopping" - ] + "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": [ - "policyType" - ], - "description": "Defines an early termination policy based on running averages of the primary metric of all runs" + "keyIdentifier", + "keyVaultArmId" + ] }, - "MLAssistConfiguration": { + "LabelCategory": { "type": "object", "properties": { - "inferencingComputeBinding": { + "allowMultiSelect": { "oneOf": [ { - "$ref": "#/definitions/ComputeConfiguration" + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Configuration for compute binding." + "description": "Indicates whether it is allowed to select multiple classes in this category." }, - "mlAssistEnabled": { + "classes": { "oneOf": [ { - "type": "boolean" + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/LabelClass" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Indicates whether MLAssist feature is enabled." + "description": "Dictionary of label classes in this category." }, - "trainingComputeBinding": { + "displayName": { + "type": "string", + "description": "Display name of the label category." + } + }, + "description": "Label category definition" + }, + "LabelClass": { + "type": "object", + "properties": { + "displayName": { + "type": "string", + "description": "Display name of the label class." + }, + "subclasses": { "oneOf": [ { - "$ref": "#/definitions/ComputeConfiguration" + "type": "object", + "additionalProperties": { + "type": "object" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Configuration for compute binding." + "description": "Dictionary of subclasses of the label class." } }, - "description": "Labeling MLAssist configuration definition" + "description": "Label class definition" }, - "Model": { + "LabelingDatasetConfiguration": { "type": "object", "properties": { - "createdTime": { + "assetName": { "type": "string", - "format": "date-time", - "description": "The Model creation time (UTC)." + "description": "Name of the data asset to perform labeling." + }, + "datasetVersion": { + "type": "string", + "description": "AML dataset version." }, - "datasets": { + "incrementalDatasetRefreshEnabled": { "oneOf": [ { - "type": "array", - "items": { - "$ref": "#/definitions/DatasetReference" - } + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The list of datasets associated with the model." - }, - "derivedModelIds": { + "description": "Indicates whether to enable incremental dataset refresh." + } + }, + "description": "Labeling dataset configuration definition" + }, + "LabelingJob": { + "type": "object", + "properties": { + "datasetConfiguration": { "oneOf": [ { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/definitions/LabelingDatasetConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Models derived from this model" + "description": "Labeling dataset configuration definition" }, "description": { "type": "string", - "description": "The Model description text." - }, - "experimentName": { - "type": "string", - "description": "The name of the experiment where this model was created." - }, - "framework": { - "type": "string", - "description": "The Model framework." - }, - "frameworkVersion": { - "type": "string", - "description": "The Model framework version." - }, - "id": { - "type": "string", - "description": "The Model Id." + "description": "The asset description text." }, - "kvTags": { + "jobInstructions": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "$ref": "#/definitions/LabelingJobInstructions" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The Model tag dictionary. Items are mutable." - }, - "mimeType": { - "type": "string", - "description": "The MIME type of Model content. For more details about MIME type, please open https://www.iana.org/assignments/media-types/media-types.xhtml" - }, - "modifiedTime": { - "type": "string", - "format": "date-time", - "description": "The Model last modified time (UTC)." - }, - "name": { - "type": "string", - "description": "The Model name." - }, - "parentModelId": { - "type": "string", - "description": "The Parent Model Id." + "description": "Instructions for labeling job" }, - "properties": { + "jobType": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} + "type": "string", + "enum": [ + "Command", + "Sweep", + "Labeling" + ] }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The Model property dictionary. Properties are immutable." + "description": "Specifies the type of job. This field should always be set to \"Labeling\"." }, - "resourceRequirements": { + "labelCategories": { "oneOf": [ { - "$ref": "#/definitions/ContainerResourceRequirements" + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/LabelCategory" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The resource requirements for the container (cpu and memory)." - }, - "runId": { - "type": "string", - "description": "The RunId that created this model." - }, - "sampleInputData": { - "type": "string", - "description": "Sample Input Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}" - }, - "sampleOutputData": { - "type": "string", - "description": "Sample Output Data for the Model. A reference to a dataset in the workspace in the format aml://dataset/{datasetId}" + "description": "Label categories of the job." }, - "unpack": { + "labelingJobMediaProperties": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/LabelingJobMediaProperties" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Indicates whether we need to unpack the Model during docker Image creation." - }, - "url": { - "type": "string", - "description": "The URL of the Model. Usually a SAS URL." + "description": "Properties of a labeling job" }, - "version": { + "mlAssistConfiguration": { "oneOf": [ { - "type": "integer" + "$ref": "#/definitions/MLAssistConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The Model version assigned by Model Management Service." - } - }, - "required": [ - "mimeType", - "name", - "url" - ], - "description": "An Azure Machine Learning Model." - }, - "ModelContainer": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The asset description text." + "description": "Labeling MLAssist configuration definition" }, "properties": { "oneOf": [ @@ -5674,206 +4365,309 @@ ], "description": "Tag dictionary. Tags can be added, removed, and updated." } - } + }, + "required": [ + "jobType" + ], + "description": "Labeling job definition" }, - "ModelDockerSectionBaseImageRegistry": { + "LabelingJobImageProperties": { "type": "object", "properties": { - "address": { - "type": "string" + "annotationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Classification", + "BoundingBox", + "InstanceSegmentation" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Annotation type of image labeling job." }, - "password": { - "type": "string" + "mediaType": { + "type": "string", + "enum": [ + "Image" + ] + } + }, + "required": [ + "mediaType" + ], + "description": "Properties of a labeling job for image data" + }, + "LabelingJobInstructions": { + "type": "object", + "properties": { + "uri": { + "type": "string", + "description": "The link to a page with detailed labeling instructions for labelers." + } + }, + "description": "Instructions for labeling job" + }, + "LabelingJobMediaProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/LabelingJobImageProperties" }, - "username": { - "type": "string" + { + "$ref": "#/definitions/LabelingJobTextProperties" + } + ], + "properties": {}, + "description": "Properties of a labeling job" + }, + "LabelingJobTextProperties": { + "type": "object", + "properties": { + "annotationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Classification" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Annotation type of text labeling job." + }, + "mediaType": { + "type": "string", + "enum": [ + "Text" + ] } }, - "description": "Image registry that contains the base image." + "required": [ + "mediaType" + ], + "description": "Properties of a labeling job for text data" }, - "ModelEnvironmentDefinitionDocker": { + "LinkedInfo": { "type": "object", "properties": { - "baseDockerfile": { + "linkedId": { "type": "string", - "description": "Base Dockerfile used for Docker-based runs. Mutually exclusive with BaseImage." + "description": "Linked service ID." }, - "baseImage": { + "linkedResourceName": { "type": "string", - "description": "Base image used for Docker-based runs. Mutually exclusive with BaseDockerfile." + "description": "Linked service resource name." }, - "baseImageRegistry": { + "origin": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Synapse" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of the linked service." + } + }, + "description": "Information about a datastore origin, if linked." + }, + "ManagedIdentity": { + "type": "object", + "properties": { + "clientId": { "oneOf": [ { - "$ref": "#/definitions/ModelDockerSectionBaseImageRegistry" + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Image registry that contains the base image." - } - }, - "description": "The definition of a Docker container." - }, - "ModelEnvironmentDefinitionPython": { - "type": "object", - "properties": { - "baseCondaEnvironment": { - "type": "string" - }, - "condaDependencies": { - "type": "object", - "properties": {}, - "description": "A JObject containing Conda dependencies." + "description": "Specifies a user-assigned identity by client ID. For system-assigned, do not set this field." }, - "interpreterPath": { + "identityType": { "type": "string", - "description": "The python interpreter path to use if an environment build is not required. The path specified gets used to call the user script." + "enum": [ + "Managed" + ] }, - "userManagedDependencies": { + "objectId": { "oneOf": [ { - "type": "boolean" + "type": "string", + "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "True means that AzureML reuses an existing python environment; False means that AzureML will create a python environment based on the Conda dependencies specification." + "description": "Specifies a user-assigned identity by object ID. For system-assigned, do not set this field." + }, + "resourceId": { + "type": "string", + "description": "Specifies a user-assigned identity by ARM resource ID. For system-assigned, do not set this field." } }, - "description": "Settings for a Python environment." + "required": [ + "identityType" + ], + "description": "Managed identity configuration." }, - "ModelEnvironmentDefinitionR": { + "ManagedOnlineDeployment": { "type": "object", "properties": { - "bioConductorPackages": { + "endpointComputeType": { + "type": "string", + "enum": [ + "Managed" + ] + }, + "instanceType": { + "type": "string" + }, + "readinessProbe": { "oneOf": [ { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/definitions/ProbeSettings" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "The packages from Bioconductor." - }, - "cranPackages": { + ] + } + }, + "required": [ + "endpointComputeType" + ] + }, + "ManualScaleSettings": { + "type": "object", + "properties": { + "instanceCount": { "oneOf": [ { - "type": "array", - "items": { - "$ref": "#/definitions/RCranPackage" - } + "type": "integer" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ], - "description": "The CRAN packages to use." + ] }, - "customUrlPackages": { + "scaleType": { + "type": "string", + "enum": [ + "Manual" + ] + } + }, + "required": [ + "scaleType" + ] + }, + "MedianStoppingPolicy": { + "type": "object", + "properties": { + "policyType": { + "type": "string", + "enum": [ + "MedianStopping" + ] + } + }, + "required": [ + "policyType" + ], + "description": "Defines an early termination policy based on running averages of the primary metric of all runs" + }, + "MLAssistConfiguration": { + "type": "object", + "properties": { + "inferencingComputeBinding": { "oneOf": [ { - "type": "array", - "items": { - "type": "string" - } + "$ref": "#/definitions/ComputeConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The packages from custom urls." + "description": "Configuration for compute binding." }, - "gitHubPackages": { + "mlAssistEnabled": { "oneOf": [ { - "type": "array", - "items": { - "$ref": "#/definitions/RGitHubPackage" - } + "type": "boolean" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The packages directly from GitHub." - }, - "rscriptPath": { - "type": "string", - "description": "The Rscript path to use if an environment build is not required.\r\nThe path specified gets used to call the user script." - }, - "rVersion": { - "type": "string", - "description": "The version of R to be installed" - }, - "snapshotDate": { - "type": "string", - "description": "Date of MRAN snapshot to use in YYYY-MM-DD format, e.g. \"2019-04-17\"" + "description": "Indicates whether MLAssist feature is enabled." }, - "userManaged": { + "trainingComputeBinding": { "oneOf": [ { - "type": "boolean" + "$ref": "#/definitions/ComputeConfiguration" }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Indicates whether the environment is managed by user or by AzureML." + "description": "Configuration for compute binding." } }, - "description": "Settings for a R environment." + "description": "Labeling MLAssist configuration definition" }, - "ModelEnvironmentDefinitionSpark": { + "ModelContainer": { "type": "object", "properties": { - "packages": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SparkMavenPackage" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Spark packages to use." + "description": { + "type": "string", + "description": "The asset description text." }, - "precachePackages": { + "properties": { "oneOf": [ { - "type": "boolean" + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Whether to precache the packages." + "description": "The asset property dictionary." }, - "repositories": { + "tags": { "oneOf": [ { - "type": "array", - "items": { + "type": "object", + "additionalProperties": { "type": "string" - } + }, + "properties": {} }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "The list of spark repositories." + "description": "Tag dictionary. Tags can be added, removed, and updated." } - }, - "description": "The configuration for a Spark environment." + } }, "ModelVersion": { "type": "object", @@ -6523,19 +5317,6 @@ ], "description": "PyTorch distribution configuration." }, - "RCranPackage": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The package name." - }, - "repository": { - "type": "string", - "description": "The repository name." - } - } - }, "Recurrence": { "type": "object", "properties": { @@ -6700,19 +5481,6 @@ }, "description": "Service identity associated with a resource." }, - "RGitHubPackage": { - "type": "object", - "properties": { - "authToken": { - "type": "string", - "description": "Personal access token to install from a private repo" - }, - "repository": { - "type": "string", - "description": "Repository address in the format username/repo[/subdir][@ref|#pull]." - } - } - }, "Route": { "type": "object", "properties": { @@ -7040,20 +5808,6 @@ }, "description": "Sku of the resource" }, - "SparkMavenPackage": { - "type": "object", - "properties": { - "artifact": { - "type": "string" - }, - "group": { - "type": "string" - }, - "version": { - "type": "string" - } - } - }, "SqlAdminDatastoreCredentials": { "type": "object", "properties": { @@ -8728,102 +7482,6 @@ "type" ], "description": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" - }, - "workspaces_services_childResource": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ACIServiceCreateRequest" - }, - { - "$ref": "#/definitions/CreateEndpointVariantRequest" - } - ], - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2021-03-01-preview" - ] - }, - "description": { - "type": "string", - "description": "The description of the service." - }, - "environmentImageRequest": { - "oneOf": [ - { - "$ref": "#/definitions/CreateServiceRequestEnvironmentImageRequest" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Environment, models and assets needed for inferencing." - }, - "keys": { - "oneOf": [ - { - "$ref": "#/definitions/CreateServiceRequestKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The authentication keys." - }, - "kvTags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The service tag dictionary. Tags are mutable." - }, - "location": { - "type": "string", - "description": "The name of the Azure location/region." - }, - "name": { - "type": "string", - "description": "Name of the Azure Machine Learning service." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The service properties dictionary. Properties are immutable." - }, - "type": { - "type": "string", - "enum": [ - "services" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.MachineLearningServices/workspaces/services" } } } \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index f54933a50f..6ceeb7a084 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6604,9 +6604,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces_privateEndpointConnections" }, - { - "$ref": "https://schema.management.azure.com/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces_services" - }, { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces" },