From 16e932be942e02e8420a645f7c6d863d34c94c83 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 13 Apr 2022 00:41:58 +0000 Subject: [PATCH] CodeGen from PR 18645 in Azure/azure-rest-api-specs Merge 803b5c93e110bdace6bcc1d1e93f20fa8e42e464 into b9d36b704e582a2bd5677fedc813607e73963469 --- .../2016-04-01/Microsoft.MachineLearning.json | 91 -- .../Microsoft.MachineLearning.json | 1062 ----------------- .../2017-01-01/Microsoft.MachineLearning.json | 1011 ---------------- .../2019-10-01/Microsoft.MachineLearning.json | 116 -- schemas/common/autogeneratedResources.json | 15 - 5 files changed, 2295 deletions(-) delete mode 100644 schemas/2016-04-01/Microsoft.MachineLearning.json delete mode 100644 schemas/2016-05-01-preview/Microsoft.MachineLearning.json delete mode 100644 schemas/2017-01-01/Microsoft.MachineLearning.json delete mode 100644 schemas/2019-10-01/Microsoft.MachineLearning.json diff --git a/schemas/2016-04-01/Microsoft.MachineLearning.json b/schemas/2016-04-01/Microsoft.MachineLearning.json deleted file mode 100644 index 6043226142..0000000000 --- a/schemas/2016-04-01/Microsoft.MachineLearning.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.MachineLearning.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.MachineLearning", - "description": "Microsoft MachineLearning Resource Types", - "resourceDefinitions": { - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-04-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource. This cannot be changed after the resource is created." - }, - "name": { - "type": "string", - "description": "The name of the machine learning workspace." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of a machine learning workspace." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The tags of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.MachineLearning/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.MachineLearning/workspaces" - } - }, - "definitions": { - "WorkspaceProperties": { - "type": "object", - "properties": { - "keyVaultIdentifierId": { - "type": "string", - "description": "The key vault identifier used for encrypted workspaces." - }, - "ownerEmail": { - "type": "string", - "description": "The email id of the owner for this workspace." - }, - "userStorageAccountId": { - "type": "string", - "description": "The fully qualified arm id of the storage account associated with this workspace." - } - }, - "required": [ - "ownerEmail", - "userStorageAccountId" - ], - "description": "The properties of a machine learning workspace." - } - } -} \ No newline at end of file diff --git a/schemas/2016-05-01-preview/Microsoft.MachineLearning.json b/schemas/2016-05-01-preview/Microsoft.MachineLearning.json deleted file mode 100644 index dfd988729c..0000000000 --- a/schemas/2016-05-01-preview/Microsoft.MachineLearning.json +++ /dev/null @@ -1,1062 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2016-05-01-preview/Microsoft.MachineLearning.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.MachineLearning", - "description": "Microsoft MachineLearning Resource Types", - "resourceDefinitions": { - "commitmentPlans": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-05-01-preview" - ] - }, - "etag": { - "type": "string", - "description": "An entity tag used to enforce optimistic concurrency." - }, - "location": { - "type": "string", - "description": "Resource location." - }, - "name": { - "type": "string", - "description": "The Azure ML commitment plan name." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU of a resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Resource tags" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.MachineLearning/commitmentPlans" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "type" - ], - "description": "Microsoft.MachineLearning/commitmentPlans" - }, - "webServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2016-05-01-preview" - ] - }, - "location": { - "type": "string", - "description": "Resource location." - }, - "name": { - "type": "string", - "description": "The name of the web service." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebServiceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of properties specific to the Azure ML web service resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.MachineLearning/webServices" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.MachineLearning/webServices" - } - }, - "definitions": { - "AssetItem": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Asset's Id." - }, - "inputPorts": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/InputPort" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the asset's input ports." - }, - "locationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/AssetLocation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the access location for a web service asset." - }, - "metadata": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the asset is a custom module, this holds the module's metadata." - }, - "name": { - "type": "string", - "description": "Asset's friendly name." - }, - "outputPorts": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/OutputPort" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the asset's output ports." - }, - "parameters": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ModuleAssetParameter" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the asset is a custom module, this holds the module's parameters." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Module", - "Resource" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Asset's type." - } - }, - "required": [ - "locationInfo", - "name", - "type" - ], - "description": "Information about an asset associated with the web service." - }, - "AssetLocation": { - "type": "object", - "properties": { - "credentials": { - "type": "string", - "description": "Access credentials for the asset, if applicable (e.g. asset specified by storage account connection string + blob URI)" - }, - "uri": { - "type": "string", - "format": "url", - "description": "The URI where the asset is accessible from, (e.g. aml://abc for system assets or https://xyz for user assets" - } - }, - "required": [ - "uri" - ], - "description": "Describes the access location for a web service asset." - }, - "ColumnSpecification": { - "type": "object", - "properties": { - "enum": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": {} - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the data type is categorical, this provides the list of accepted categories." - }, - "format": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Byte", - "Char", - "Complex64", - "Complex128", - "Date-time", - "Date-timeOffset", - "Double", - "Duration", - "Float", - "Int8", - "Int16", - "Int32", - "Int64", - "Uint8", - "Uint16", - "Uint32", - "Uint64" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Additional format information for the data type." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Boolean", - "Integer", - "Number", - "String" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data type of the column." - }, - "x-ms-isnullable": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag indicating if the type supports null values or not." - }, - "x-ms-isordered": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag indicating whether the categories are treated as an ordered set or not, if this is a categorical column." - } - }, - "required": [ - "type" - ], - "description": "Swagger 2.0 schema for a column within the data table representing a web service input or output. See Swagger specification: http://swagger.io/specification/" - }, - "CommitmentPlanModel": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Specifies the Azure Resource Manager ID of the commitment plan associated with the web service." - } - }, - "required": [ - "id" - ], - "description": "Information about the machine learning commitment plan associated with the web service." - }, - "DiagnosticsConfiguration": { - "type": "object", - "properties": { - "expiry": { - "type": "string", - "format": "date-time", - "description": "Specifies the date and time when the logging will cease. If null, diagnostic collection is not time limited." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Error", - "All" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the verbosity of the diagnostic output. Valid values are: None - disables tracing; Error - collects only error (stderr) traces; All - collects all traces (stdout and stderr)." - } - }, - "required": [ - "level" - ], - "description": "Diagnostics settings for an Azure ML web service." - }, - "ExampleRequest": { - "type": "object", - "properties": { - "globalParameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sample input data for the web service's global parameters" - }, - "inputs": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "object", - "properties": {} - } - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sample input data for the web service's input(s) given as an input name to sample input values matrix map." - } - }, - "description": "Sample input data for the service's input(s)." - }, - "GraphEdge": { - "type": "object", - "properties": { - "sourceNodeId": { - "type": "string", - "description": "The source graph node's identifier." - }, - "sourcePortId": { - "type": "string", - "description": "The identifier of the source node's port that the edge connects from." - }, - "targetNodeId": { - "type": "string", - "description": "The destination graph node's identifier." - }, - "targetPortId": { - "type": "string", - "description": "The identifier of the destination node's port that the edge connects into." - } - }, - "description": "Defines an edge within the web service's graph." - }, - "GraphNode": { - "type": "object", - "properties": { - "assetId": { - "type": "string", - "description": "The id of the asset represented by this node." - }, - "inputId": { - "type": "string", - "description": "The id of the input element represented by this node." - }, - "outputId": { - "type": "string", - "description": "The id of the output element represented by this node." - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If applicable, parameters of the node. Global graph parameters map into these, with values set at runtime." - } - }, - "description": "Specifies a node in the web service graph. The node can either be an input, output or asset node, so only one of the corresponding id properties is populated at any given time." - }, - "GraphPackage": { - "type": "object", - "properties": { - "edges": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/GraphEdge" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of edges making up the graph." - }, - "graphParameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/GraphParameter" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The collection of global parameters for the graph, given as a global parameter name to GraphParameter map. Each parameter here has a 1:1 match with the global parameters values map declared at the WebServiceProperties level." - }, - "nodes": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/GraphNode" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of nodes making up the graph, provided as a nodeId to GraphNode map" - } - }, - "description": "Defines the graph of modules making up the machine learning solution." - }, - "GraphParameter": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of this graph parameter." - }, - "links": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/GraphParameterLink" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Association links for this parameter to nodes in the graph." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Int", - "Float", - "Enumerated", - "Script", - "Mode", - "Credential", - "Boolean", - "Double", - "ColumnPicker", - "ParameterRange", - "DataGatewayName" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Graph parameter's type." - } - }, - "required": [ - "links", - "type" - ], - "description": "Defines a global parameter in the graph." - }, - "GraphParameterLink": { - "type": "object", - "properties": { - "nodeId": { - "type": "string", - "description": "The graph node's identifier" - }, - "parameterKey": { - "type": "string", - "description": "The identifier of the node parameter that the global parameter maps to." - } - }, - "required": [ - "nodeId", - "parameterKey" - ], - "description": "Association link for a graph global parameter to a node in the graph." - }, - "InputPort": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Dataset" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Port data type." - } - }, - "description": "Asset input port" - }, - "MachineLearningWorkspace": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Specifies the workspace ID of the machine learning workspace associated with the web service" - } - }, - "required": [ - "id" - ], - "description": "Information about the machine learning workspace containing the experiment that is source for the web service." - }, - "ModeValueInfo": { - "type": "object", - "properties": { - "interfaceString": { - "type": "string", - "description": "The interface string name for the nested parameter." - }, - "parameters": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The definition of the parameter." - } - }, - "description": "Nested parameter definition." - }, - "ModuleAssetParameter": { - "type": "object", - "properties": { - "modeValuesInfo": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ModeValueInfo" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Definitions for nested interface parameters if this is a complex module parameter." - }, - "name": { - "type": "string", - "description": "Parameter name." - }, - "parameterType": { - "type": "string", - "description": "Parameter type." - } - }, - "description": "Parameter definition for a module asset." - }, - "OutputPort": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Dataset" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Port data type." - } - }, - "description": "Asset output port" - }, - "RealtimeConfiguration": { - "type": "object", - "properties": { - "maxConcurrentCalls": { - "oneOf": [ - { - "type": "integer", - "minimum": 4, - "maximum": 200 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the maximum concurrent calls that can be made to the web service. Minimum value: 4, Maximum value: 200." - } - }, - "description": "Holds the available configuration options for an Azure ML web service endpoint." - }, - "ResourceSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The scale-out capacity of the resource. 1 is 1x, 2 is 2x, etc. This impacts the quantities and cost of any commitment plan resource." - }, - "name": { - "type": "string", - "description": "The SKU name. Along with tier, uniquely identifies the SKU." - }, - "tier": { - "type": "string", - "description": "The SKU tier. Along with name, uniquely identifies the SKU." - } - }, - "description": "The SKU of a resource." - }, - "ServiceInputOutputSpecification": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The description of the Swagger schema." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/TableSpecification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a collection that contains the column schema for each input or output of the web service. For more information, see the Swagger specification." - }, - "title": { - "type": "string", - "description": "The title of your Swagger schema." - }, - "type": { - "type": "string", - "default": "object", - "description": "The type of the entity described in swagger. Always 'object'." - } - }, - "required": [ - "properties", - "type" - ], - "description": "The swagger 2.0 schema describing the service's inputs or outputs. See Swagger specification: http://swagger.io/specification/" - }, - "StorageAccount": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "Specifies the key used to access the storage account." - }, - "name": { - "type": "string", - "description": "Specifies the name of the storage account." - } - }, - "description": "Access information for a storage account." - }, - "TableSpecification": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Swagger schema description." - }, - "format": { - "type": "string", - "description": "The format, if 'type' is not 'object'" - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ColumnSpecification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of columns within the data table." - }, - "title": { - "type": "string", - "description": "Swagger schema title." - }, - "type": { - "type": "string", - "default": "object", - "description": "The type of the entity described in swagger." - } - }, - "required": [ - "type" - ], - "description": "The swagger 2.0 schema describing a single service input or output. See Swagger specification: http://swagger.io/specification/" - }, - "WebServiceKeys": { - "type": "object", - "properties": { - "primary": { - "type": "string", - "description": "The primary access key." - }, - "secondary": { - "type": "string", - "description": "The secondary access key." - } - }, - "description": "Access keys for the web service calls." - }, - "WebServiceProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/WebServicePropertiesForGraph" - } - ], - "properties": { - "assets": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/AssetItem" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains user defined properties describing web service assets. Properties are expressed as Key/Value pairs." - }, - "commitmentPlan": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlanModel" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the machine learning commitment plan associated with the web service." - }, - "description": { - "type": "string", - "description": "The description of the web service." - }, - "diagnostics": { - "oneOf": [ - { - "$ref": "#/definitions/DiagnosticsConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Diagnostics settings for an Azure ML web service." - }, - "exampleRequest": { - "oneOf": [ - { - "$ref": "#/definitions/ExampleRequest" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sample input data for the service's input(s)." - }, - "exposeSampleData": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When set to true, sample data is included in the web service's swagger definition. The default value is true." - }, - "input": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceInputOutputSpecification" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The swagger 2.0 schema describing the service's inputs or outputs. See Swagger specification: http://swagger.io/specification/" - }, - "keys": { - "oneOf": [ - { - "$ref": "#/definitions/WebServiceKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Access keys for the web service calls." - }, - "machineLearningWorkspace": { - "oneOf": [ - { - "$ref": "#/definitions/MachineLearningWorkspace" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the machine learning workspace containing the experiment that is source for the web service." - }, - "output": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceInputOutputSpecification" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The swagger 2.0 schema describing the service's inputs or outputs. See Swagger specification: http://swagger.io/specification/" - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of global parameters values defined for the web service, given as a global parameter name to default value map. If no default value is specified, the parameter is considered to be required." - }, - "readOnly": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When set to true, indicates that the web service is read-only and can no longer be updated or patched, only removed. Default, is false. Note: Once set to true, you cannot change its value." - }, - "realtimeConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/RealtimeConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Holds the available configuration options for an Azure ML web service endpoint." - }, - "storageAccount": { - "oneOf": [ - { - "$ref": "#/definitions/StorageAccount" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Access information for a storage account." - }, - "title": { - "type": "string", - "description": "The title of the web service." - } - }, - "description": "The set of properties specific to the Azure ML web service resource." - }, - "WebServicePropertiesForGraph": { - "type": "object", - "properties": { - "package": { - "oneOf": [ - { - "$ref": "#/definitions/GraphPackage" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the graph of modules making up the machine learning solution." - }, - "packageType": { - "type": "string", - "enum": [ - "Graph" - ] - } - }, - "required": [ - "packageType" - ], - "description": "Properties specific to a Graph based web service." - } - } -} \ No newline at end of file diff --git a/schemas/2017-01-01/Microsoft.MachineLearning.json b/schemas/2017-01-01/Microsoft.MachineLearning.json deleted file mode 100644 index f98c2b2d07..0000000000 --- a/schemas/2017-01-01/Microsoft.MachineLearning.json +++ /dev/null @@ -1,1011 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.MachineLearning.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.MachineLearning", - "description": "Microsoft MachineLearning Resource Types", - "resourceDefinitions": { - "webServices": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2017-01-01" - ] - }, - "location": { - "type": "string", - "description": "Specifies the location of the resource." - }, - "name": { - "type": "string", - "description": "The name of the web service." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WebServiceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of properties specific to the Azure ML web service resource." - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains resource tags defined as key/value pairs." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.MachineLearning/webServices" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.MachineLearning/webServices" - } - }, - "definitions": { - "AssetItem": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Asset's Id." - }, - "inputPorts": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/InputPort" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the asset's input ports." - }, - "locationInfo": { - "oneOf": [ - { - "$ref": "#/definitions/BlobLocation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the access location for a blob." - }, - "metadata": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the asset is a custom module, this holds the module's metadata." - }, - "name": { - "type": "string", - "description": "Asset's friendly name." - }, - "outputPorts": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/OutputPort" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the asset's output ports." - }, - "parameters": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ModuleAssetParameter" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the asset is a custom module, this holds the module's parameters." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Module", - "Resource" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Asset's type." - } - }, - "required": [ - "locationInfo", - "name", - "type" - ], - "description": "Information about an asset associated with the web service." - }, - "BlobLocation": { - "type": "object", - "properties": { - "credentials": { - "type": "string", - "description": "Access credentials for the blob, if applicable (e.g. blob specified by storage account connection string + blob URI)" - }, - "uri": { - "type": "string", - "description": "The URI from which the blob is accessible from. For example, aml://abc for system assets or https://xyz for user assets or payload." - } - }, - "required": [ - "uri" - ], - "description": "Describes the access location for a blob." - }, - "ColumnSpecification": { - "type": "object", - "properties": { - "enum": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object", - "properties": {} - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If the data type is categorical, this provides the list of accepted categories." - }, - "format": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Byte", - "Char", - "Complex64", - "Complex128", - "Date-time", - "Date-timeOffset", - "Double", - "Duration", - "Float", - "Int8", - "Int16", - "Int32", - "Int64", - "Uint8", - "Uint16", - "Uint32", - "Uint64" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Additional format information for the data type." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Boolean", - "Integer", - "Number", - "String" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Data type of the column." - }, - "x-ms-isnullable": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag indicating if the type supports null values or not." - }, - "x-ms-isordered": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag indicating whether the categories are treated as an ordered set or not, if this is a categorical column." - } - }, - "required": [ - "type" - ], - "description": "Swagger 2.0 schema for a column within the data table representing a web service input or output. See Swagger specification: http://swagger.io/specification/" - }, - "CommitmentPlan": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Specifies the Azure Resource Manager ID of the commitment plan associated with the web service." - } - }, - "required": [ - "id" - ], - "description": "Information about the machine learning commitment plan associated with the web service." - }, - "DiagnosticsConfiguration": { - "type": "object", - "properties": { - "expiry": { - "type": "string", - "format": "date-time", - "description": "Specifies the date and time when the logging will cease. If null, diagnostic collection is not time limited." - }, - "level": { - "oneOf": [ - { - "type": "string", - "enum": [ - "None", - "Error", - "All" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the verbosity of the diagnostic output. Valid values are: None - disables tracing; Error - collects only error (stderr) traces; All - collects all traces (stdout and stderr)." - } - }, - "required": [ - "level" - ], - "description": "Diagnostics settings for an Azure ML web service." - }, - "ExampleRequest": { - "type": "object", - "properties": { - "globalParameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sample input data for the web service's global parameters" - }, - "inputs": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "object", - "properties": {} - } - } - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sample input data for the web service's input(s) given as an input name to sample input values matrix map." - } - }, - "description": "Sample input data for the service's input(s)." - }, - "GraphEdge": { - "type": "object", - "properties": { - "sourceNodeId": { - "type": "string", - "description": "The source graph node's identifier." - }, - "sourcePortId": { - "type": "string", - "description": "The identifier of the source node's port that the edge connects from." - }, - "targetNodeId": { - "type": "string", - "description": "The destination graph node's identifier." - }, - "targetPortId": { - "type": "string", - "description": "The identifier of the destination node's port that the edge connects into." - } - }, - "description": "Defines an edge within the web service's graph." - }, - "GraphNode": { - "type": "object", - "properties": { - "assetId": { - "type": "string", - "description": "The id of the asset represented by this node." - }, - "inputId": { - "type": "string", - "description": "The id of the input element represented by this node." - }, - "outputId": { - "type": "string", - "description": "The id of the output element represented by this node." - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/WebServiceParameter" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "If applicable, parameters of the node. Global graph parameters map into these, with values set at runtime." - } - }, - "description": "Specifies a node in the web service graph. The node can either be an input, output or asset node, so only one of the corresponding id properties is populated at any given time." - }, - "GraphPackage": { - "type": "object", - "properties": { - "edges": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/GraphEdge" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The list of edges making up the graph." - }, - "graphParameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/GraphParameter" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The collection of global parameters for the graph, given as a global parameter name to GraphParameter map. Each parameter here has a 1:1 match with the global parameters values map declared at the WebServiceProperties level." - }, - "nodes": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/GraphNode" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of nodes making up the graph, provided as a nodeId to GraphNode map" - } - }, - "description": "Defines the graph of modules making up the machine learning solution." - }, - "GraphParameter": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Description of this graph parameter." - }, - "links": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/GraphParameterLink" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Association links for this parameter to nodes in the graph." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "String", - "Int", - "Float", - "Enumerated", - "Script", - "Mode", - "Credential", - "Boolean", - "Double", - "ColumnPicker", - "ParameterRange", - "DataGatewayName" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Graph parameter's type." - } - }, - "required": [ - "links", - "type" - ], - "description": "Defines a global parameter in the graph." - }, - "GraphParameterLink": { - "type": "object", - "properties": { - "nodeId": { - "type": "string", - "description": "The graph node's identifier" - }, - "parameterKey": { - "type": "string", - "description": "The identifier of the node parameter that the global parameter maps to." - } - }, - "required": [ - "nodeId", - "parameterKey" - ], - "description": "Association link for a graph global parameter to a node in the graph." - }, - "InputPort": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Dataset" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Port data type." - } - }, - "description": "Asset input port" - }, - "MachineLearningWorkspace": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "Specifies the workspace ID of the machine learning workspace associated with the web service" - } - }, - "required": [ - "id" - ], - "description": "Information about the machine learning workspace containing the experiment that is source for the web service." - }, - "ModeValueInfo": { - "type": "object", - "properties": { - "interfaceString": { - "type": "string", - "description": "The interface string name for the nested parameter." - }, - "parameters": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "object" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The definition of the parameter." - } - }, - "description": "Nested parameter definition." - }, - "ModuleAssetParameter": { - "type": "object", - "properties": { - "modeValuesInfo": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ModeValueInfo" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Definitions for nested interface parameters if this is a complex module parameter." - }, - "name": { - "type": "string", - "description": "Parameter name." - }, - "parameterType": { - "type": "string", - "description": "Parameter type." - } - }, - "description": "Parameter definition for a module asset." - }, - "OutputPort": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Dataset" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Port data type." - } - }, - "description": "Asset output port" - }, - "RealtimeConfiguration": { - "type": "object", - "properties": { - "maxConcurrentCalls": { - "oneOf": [ - { - "type": "integer", - "minimum": 4, - "maximum": 200 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the maximum concurrent calls that can be made to the web service. Minimum value: 4, Maximum value: 200." - } - }, - "description": "Holds the available configuration options for an Azure ML web service endpoint." - }, - "ServiceInputOutputSpecification": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "The description of the Swagger schema." - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/TableSpecification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies a collection that contains the column schema for each input or output of the web service. For more information, see the Swagger specification." - }, - "title": { - "type": "string", - "description": "The title of your Swagger schema." - }, - "type": { - "type": "string", - "default": "object", - "description": "The type of the entity described in swagger. Always 'object'." - } - }, - "required": [ - "properties", - "type" - ], - "description": "The swagger 2.0 schema describing the service's inputs or outputs. See Swagger specification: http://swagger.io/specification/" - }, - "StorageAccount": { - "type": "object", - "properties": { - "key": { - "type": "string", - "description": "Specifies the key used to access the storage account." - }, - "name": { - "type": "string", - "description": "Specifies the name of the storage account." - } - }, - "description": "Access information for a storage account." - }, - "TableSpecification": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "Swagger schema description." - }, - "format": { - "type": "string", - "description": "The format, if 'type' is not 'object'" - }, - "properties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/ColumnSpecification" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of columns within the data table." - }, - "title": { - "type": "string", - "description": "Swagger schema title." - }, - "type": { - "type": "string", - "default": "object", - "description": "The type of the entity described in swagger." - } - }, - "required": [ - "type" - ], - "description": "The swagger 2.0 schema describing a single service input or output. See Swagger specification: http://swagger.io/specification/" - }, - "WebServiceKeys": { - "type": "object", - "properties": { - "primary": { - "type": "string", - "description": "The primary access key." - }, - "secondary": { - "type": "string", - "description": "The secondary access key." - } - }, - "description": "Access keys for the web service calls." - }, - "WebServiceParameter": { - "type": "object", - "properties": { - "certificateThumbprint": { - "type": "string", - "description": "If the parameter value in 'value' field is encrypted, the thumbprint of the certificate should be put here." - }, - "value": { - "type": "object", - "properties": {}, - "description": "The parameter value" - } - }, - "description": "Web Service Parameter object for node and global parameter" - }, - "WebServiceProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/WebServicePropertiesForGraph" - } - ], - "properties": { - "assets": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/AssetItem" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Contains user defined properties describing web service assets. Properties are expressed as Key/Value pairs." - }, - "commitmentPlan": { - "oneOf": [ - { - "$ref": "#/definitions/CommitmentPlan" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the machine learning commitment plan associated with the web service." - }, - "description": { - "type": "string", - "description": "The description of the web service." - }, - "diagnostics": { - "oneOf": [ - { - "$ref": "#/definitions/DiagnosticsConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Diagnostics settings for an Azure ML web service." - }, - "exampleRequest": { - "oneOf": [ - { - "$ref": "#/definitions/ExampleRequest" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sample input data for the service's input(s)." - }, - "exposeSampleData": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When set to true, sample data is included in the web service's swagger definition. The default value is true." - }, - "input": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceInputOutputSpecification" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The swagger 2.0 schema describing the service's inputs or outputs. See Swagger specification: http://swagger.io/specification/" - }, - "keys": { - "oneOf": [ - { - "$ref": "#/definitions/WebServiceKeys" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Access keys for the web service calls." - }, - "machineLearningWorkspace": { - "oneOf": [ - { - "$ref": "#/definitions/MachineLearningWorkspace" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the machine learning workspace containing the experiment that is source for the web service." - }, - "output": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceInputOutputSpecification" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The swagger 2.0 schema describing the service's inputs or outputs. See Swagger specification: http://swagger.io/specification/" - }, - "parameters": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "$ref": "#/definitions/WebServiceParameter" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The set of global parameters values defined for the web service, given as a global parameter name to default value map. If no default value is specified, the parameter is considered to be required." - }, - "payloadsInBlobStorage": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When set to true, indicates that the payload size is larger than 3 MB. Otherwise false. If the payload size exceed 3 MB, the payload is stored in a blob and the PayloadsLocation parameter contains the URI of the blob. Otherwise, this will be set to false and Assets, Input, Output, Package, Parameters, ExampleRequest are inline. The Payload sizes is determined by adding the size of the Assets, Input, Output, Package, Parameters, and the ExampleRequest." - }, - "payloadsLocation": { - "oneOf": [ - { - "$ref": "#/definitions/BlobLocation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the access location for a blob." - }, - "readOnly": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "When set to true, indicates that the web service is read-only and can no longer be updated or patched, only removed. Default, is false. Note: Once set to true, you cannot change its value." - }, - "realtimeConfiguration": { - "oneOf": [ - { - "$ref": "#/definitions/RealtimeConfiguration" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Holds the available configuration options for an Azure ML web service endpoint." - }, - "storageAccount": { - "oneOf": [ - { - "$ref": "#/definitions/StorageAccount" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Access information for a storage account." - }, - "title": { - "type": "string", - "description": "The title of the web service." - } - }, - "description": "The set of properties specific to the Azure ML web service resource." - }, - "WebServicePropertiesForGraph": { - "type": "object", - "properties": { - "package": { - "oneOf": [ - { - "$ref": "#/definitions/GraphPackage" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Defines the graph of modules making up the machine learning solution." - }, - "packageType": { - "type": "string", - "enum": [ - "Graph" - ] - } - }, - "required": [ - "packageType" - ], - "description": "Properties specific to a Graph based web service." - } - } -} \ No newline at end of file diff --git a/schemas/2019-10-01/Microsoft.MachineLearning.json b/schemas/2019-10-01/Microsoft.MachineLearning.json deleted file mode 100644 index 7131fd5945..0000000000 --- a/schemas/2019-10-01/Microsoft.MachineLearning.json +++ /dev/null @@ -1,116 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.MachineLearning.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.MachineLearning", - "description": "Microsoft MachineLearning Resource Types", - "resourceDefinitions": { - "workspaces": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2019-10-01" - ] - }, - "location": { - "type": "string", - "description": "The location of the resource. This cannot be changed after the resource is created." - }, - "name": { - "type": "string", - "description": "The name of the machine learning workspace." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/WorkspaceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of a machine learning workspace." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/Sku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Sku of the resource" - }, - "tags": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The tags of the resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.MachineLearning/workspaces" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.MachineLearning/workspaces" - } - }, - "definitions": { - "Sku": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the sku" - }, - "tier": { - "type": "string", - "description": "Tier of the sku like Basic or Enterprise" - } - }, - "description": "Sku of the resource" - }, - "WorkspaceProperties": { - "type": "object", - "properties": { - "keyVaultIdentifierId": { - "type": "string", - "description": "The key vault identifier used for encrypted workspaces." - }, - "ownerEmail": { - "type": "string", - "description": "The email id of the owner for this workspace." - }, - "userStorageAccountId": { - "type": "string", - "description": "The fully qualified arm id of the storage account associated with this workspace." - } - }, - "required": [ - "ownerEmail", - "userStorageAccountId" - ], - "description": "The properties of a machine learning workspace." - } - } -} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index b99518f62e..04b6e55b1f 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -9988,21 +9988,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-03-25-preview/Microsoft.M365SecurityAndCompliance.json#/resourceDefinitions/privateLinkServicesForSCCPowershell_privateEndpointConnections" }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-04-01/Microsoft.MachineLearning.json#/resourceDefinitions/workspaces" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-05-01-preview/Microsoft.MachineLearning.json#/resourceDefinitions/commitmentPlans" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2016-05-01-preview/Microsoft.MachineLearning.json#/resourceDefinitions/webServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2017-01-01/Microsoft.MachineLearning.json#/resourceDefinitions/webServices" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2019-10-01/Microsoft.MachineLearning.json#/resourceDefinitions/workspaces" - }, { "$ref": "https://schema.management.azure.com/schemas/2017-06-01-preview/Microsoft.MachineLearningCompute.json#/resourceDefinitions/operationalizationClusters" },