From 31f9e8ee31e4e5a7bc1436e12178b27b420742ed Mon Sep 17 00:00:00 2001 From: Teddy Date: Wed, 11 May 2022 11:57:38 -0700 Subject: [PATCH] reduce PATCH to bare minimum --- .../stable/2022-05-01/mfe.json | 353 +----------------- 1 file changed, 18 insertions(+), 335 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-05-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-05-01/mfe.json index 14d9eaeeb21a..a570d7eb0611 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-05-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2022-05-01/mfe.json @@ -229,7 +229,7 @@ "description": "Mutable batch inference endpoint definition object.", "required": true, "schema": { - "$ref": "#/definitions/PartialBatchEndpointPartialTrackedResource" + "$ref": "#/definitions/PartialMinimalTrackedResourceWithIdentity" } } ], @@ -612,7 +612,7 @@ "description": "Batch inference deployment definition object.", "required": true, "schema": { - "$ref": "#/definitions/PartialBatchDeploymentPartialTrackedResource" + "$ref": "#/definitions/PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties" } } ], @@ -4462,7 +4462,7 @@ "description": "Online Endpoint entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/PartialOnlineEndpointPartialTrackedResource" + "$ref": "#/definitions/PartialMinimalTrackedResourceWithIdentity" } } ], @@ -4848,7 +4848,7 @@ "description": "Online Endpoint entity to apply during operation.", "required": true, "schema": { - "$ref": "#/definitions/PartialOnlineDeploymentPartialTrackedResource" + "$ref": "#/definitions/PartialMinimalTrackedResourceWithSku" } } ], @@ -8913,174 +8913,26 @@ "x-ms-discriminator-value": "OutputPath", "additionalProperties": false }, - "PartialAssetReferenceBase": { - "description": "Base definition for asset references.", - "required": [ - "referenceType" - ], - "type": "object", - "properties": { - "referenceType": { - "description": "[Required] Specifies the type of asset reference.", - "$ref": "#/definitions/ReferenceType" - } - }, - "discriminator": "referenceType" - }, "PartialBatchDeployment": { "description": "Mutable batch inference settings per deployment.", "type": "object", "properties": { - "codeConfiguration": { - "description": "Code configuration for the endpoint deployment.", - "$ref": "#/definitions/PartialCodeConfiguration", - "x-nullable": true - }, - "compute": { - "description": "Compute binding definition.", - "type": "string", - "x-nullable": true - }, "description": { "description": "Description of the endpoint deployment.", "type": "string", "x-nullable": true - }, - "environmentId": { - "description": "ARM resource ID of the environment specification for the endpoint deployment.", - "type": "string", - "x-nullable": true - }, - "environmentVariables": { - "description": "Environment variables configuration for the deployment.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "errorThreshold": { - "format": "int32", - "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.", - "type": "integer" - }, - "loggingLevel": { - "description": "Logging level for batch inference operation.", - "$ref": "#/definitions/BatchLoggingLevel" - }, - "maxConcurrencyPerInstance": { - "format": "int32", - "description": "Indicates number of processes per instance", - "type": "integer" - }, - "miniBatchSize": { - "format": "int64", - "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.", - "type": "integer" - }, - "model": { - "description": "Reference to the model asset for the endpoint deployment.", - "$ref": "#/definitions/PartialAssetReferenceBase", - "x-nullable": true - }, - "outputAction": { - "description": "Indicates how the output will be organized.", - "$ref": "#/definitions/BatchOutputAction" - }, - "outputFileName": { - "description": "Customized output file name for append_row output action.", - "type": "string", - "x-nullable": true - }, - "properties": { - "description": "Property dictionary. Properties can be added, but not removed or altered.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - }, - "x-nullable": true - }, - "retrySettings": { - "description": "Retry Settings for the batch inference operation.", - "$ref": "#/definitions/PartialBatchRetrySettings", - "x-nullable": true } }, "additionalProperties": false }, - "PartialBatchDeploymentPartialTrackedResource": { + "PartialBatchDeploymentPartialMinimalTrackedResourceWithProperties": { "description": "Strictly used in update requests.", "type": "object", "properties": { - "identity": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "$ref": "#/definitions/PartialManagedServiceIdentity" - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives.", - "type": "string" - }, "properties": { "description": "Additional attributes of the entity.", "$ref": "#/definitions/PartialBatchDeployment" }, - "sku": { - "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku" - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - } - } - }, - "additionalProperties": false - }, - "PartialBatchEndpoint": { - "description": "Mutable Batch endpoint configuration", - "type": "object", - "properties": { - "defaults": { - "description": "Default values for Batch Endpoint", - "$ref": "#/definitions/BatchEndpointDefaults", - "x-nullable": true - } - }, - "additionalProperties": false - }, - "PartialBatchEndpointPartialTrackedResource": { - "description": "Strictly used in update requests.", - "type": "object", - "properties": { - "identity": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "$ref": "#/definitions/PartialManagedServiceIdentity" - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives.", - "type": "string" - }, - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialBatchEndpoint" - }, - "sku": { - "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku" - }, "tags": { "description": "Resource tags.", "type": "object", @@ -9092,110 +8944,6 @@ }, "additionalProperties": false }, - "PartialBatchRetrySettings": { - "description": "Retry settings for a batch inference operation.", - "type": "object", - "properties": { - "maxRetries": { - "format": "int32", - "description": "Maximum retry count for a mini-batch", - "type": "integer" - }, - "timeout": { - "format": "duration", - "description": "Invocation timeout for a mini-batch, in ISO 8601 format.", - "type": "string" - } - }, - "additionalProperties": false - }, - "PartialCodeConfiguration": { - "description": "Configuration for a scoring code asset.", - "type": "object", - "properties": { - "codeId": { - "description": "ARM resource ID of the code asset.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ], - "x-nullable": true - }, - "scoringScript": { - "description": "The script to execute on startup. eg. \"score.py\"", - "minLength": 1, - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - } - }, - "additionalProperties": false - }, - "PartialDataPathAssetReference": { - "description": "Reference to an asset via its path in a datastore.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PartialAssetReferenceBase" - } - ], - "properties": { - "datastoreId": { - "description": "ARM resource ID of the datastore where the asset is located.", - "type": "string", - "x-nullable": true - }, - "path": { - "description": "The path of the file/directory in the datastore.", - "type": "string", - "x-nullable": true - } - }, - "x-ms-discriminator-value": "DataPath", - "additionalProperties": false - }, - "PartialIdAssetReference": { - "description": "Reference to an asset via its ARM resource ID.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PartialAssetReferenceBase" - } - ], - "properties": { - "assetId": { - "description": "ARM resource ID of the asset.", - "type": "string" - } - }, - "x-ms-discriminator-value": "Id", - "additionalProperties": false - }, - "PartialKubernetesOnlineDeployment": { - "description": "Properties specific to a KubernetesOnlineDeployment.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PartialOnlineDeployment" - } - ], - "x-ms-discriminator-value": "Kubernetes", - "additionalProperties": false - }, - "PartialManagedOnlineDeployment": { - "description": "Properties specific to a ManagedOnlineDeployment.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/PartialOnlineDeployment" - } - ], - "x-ms-discriminator-value": "Managed", - "additionalProperties": false - }, "PartialManagedServiceIdentity": { "description": "Managed service identity (system assigned and/or user assigned identities)", "type": "object", @@ -9214,44 +8962,10 @@ }, "additionalProperties": false }, - "PartialOnlineDeployment": { - "description": "Mutable online deployment configuration", - "required": [ - "endpointComputeType" - ], - "type": "object", - "properties": { - "endpointComputeType": { - "description": "[Required] The compute type of the endpoint.", - "$ref": "#/definitions/EndpointComputeType" - } - }, - "discriminator": "endpointComputeType" - }, - "PartialOnlineDeploymentPartialTrackedResource": { + "PartialMinimalTrackedResource": { "description": "Strictly used in update requests.", "type": "object", "properties": { - "identity": { - "description": "Managed service identity (system assigned and/or user assigned identities)", - "$ref": "#/definitions/PartialManagedServiceIdentity" - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives.", - "type": "string" - }, - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialOnlineDeployment" - }, - "sku": { - "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku" - }, "tags": { "description": "Resource tags.", "type": "object", @@ -9263,67 +8977,36 @@ }, "additionalProperties": false }, - "PartialOnlineEndpoint": { - "description": "Mutable online endpoint configuration.\r\nWe do not allow any properties to be updated in Endpoint.", - "type": "object", - "additionalProperties": false - }, - "PartialOnlineEndpointPartialTrackedResource": { + "PartialMinimalTrackedResourceWithIdentity": { "description": "Strictly used in update requests.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/PartialMinimalTrackedResource" + } + ], "properties": { "identity": { "description": "Managed service identity (system assigned and/or user assigned identities)", "$ref": "#/definitions/PartialManagedServiceIdentity" - }, - "kind": { - "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.", - "type": "string" - }, - "location": { - "description": "The geo-location where the resource lives.", - "type": "string" - }, - "properties": { - "description": "Additional attributes of the entity.", - "$ref": "#/definitions/PartialOnlineEndpoint" - }, - "sku": { - "description": "Sku details required for ARM contract for Autoscaling.", - "$ref": "#/definitions/PartialSku" - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string", - "x-nullable": true - } } }, "additionalProperties": false }, - "PartialOutputPathAssetReference": { - "description": "Reference to an asset via its path in a job output.", + "PartialMinimalTrackedResourceWithSku": { + "description": "Strictly used in update requests.", "type": "object", "allOf": [ { - "$ref": "#/definitions/PartialAssetReferenceBase" + "$ref": "#/definitions/PartialMinimalTrackedResource" } ], "properties": { - "jobId": { - "description": "ARM resource ID of the job.", - "type": "string", - "x-nullable": true - }, - "path": { - "description": "The path of the file/directory in the job output.", - "type": "string", - "x-nullable": true + "sku": { + "description": "Sku details required for ARM contract for Autoscaling.", + "$ref": "#/definitions/PartialSku" } }, - "x-ms-discriminator-value": "OutputPath", "additionalProperties": false }, "PartialSku": {