From f17342ab97c10b26243d66f983f540f46e671a59 Mon Sep 17 00:00:00 2001 From: ZhidaLiu <86350902+ZhidaLiu@users.noreply.github.com> Date: Thu, 20 Jan 2022 13:43:37 -0800 Subject: [PATCH] Revert "try to fix mutability error" This reverts commit d4aa7a04d1ddef525c3b49bc141b3959e44105dc. --- .../stable/2021-10-01/mfe.json | 82 ++++++++++--------- 1 file changed, 45 insertions(+), 37 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json index 78366a0fe982..2b54ce1abbeb 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-10-01/mfe.json @@ -5543,7 +5543,11 @@ }, "provisioningState": { "description": "Provisioning state for the endpoint deployment.", - "$ref": "#/definitions/DeploymentProvisioningState" + "$ref": "#/definitions/DeploymentProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "resources": { "description": "Indicates compute configuration for the job.\r\nIf not provided, will default to the defaults defined in ResourceConfiguration.", @@ -5625,7 +5629,11 @@ }, "provisioningState": { "description": "Provisioning state for the endpoint.", - "$ref": "#/definitions/EndpointProvisioningState" + "$ref": "#/definitions/EndpointProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] } }, "x-ms-client-name": "BatchEndpointDetails", @@ -6699,11 +6707,7 @@ "name": "DeploymentProvisioningState", "modelAsString": true }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "DistributionConfiguration": { "description": "Base definition for job distribution configuration.", @@ -6970,11 +6974,7 @@ "name": "EndpointProvisioningState", "modelAsString": true }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "EnvironmentContainer": { "description": "Container for environment specification versions.", @@ -7036,11 +7036,7 @@ "name": "EnvironmentType", "modelAsString": true }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "EnvironmentVersion": { "description": "Environment version details.", @@ -7069,7 +7065,11 @@ }, "environmentType": { "description": "Environment type is either user managed or curated by the Azure ML service\r\n", - "$ref": "#/definitions/EnvironmentType" + "$ref": "#/definitions/EnvironmentType", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "image": { "description": "Name of the image that will be used for the environment.\r\n", @@ -7330,7 +7330,11 @@ }, "status": { "description": "Status of the job.", - "$ref": "#/definitions/JobStatus" + "$ref": "#/definitions/JobStatus", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] } }, "discriminator": "jobType", @@ -7604,11 +7608,19 @@ "properties": { "mode": { "description": "Output Delivery Mode.", - "$ref": "#/definitions/OutputDataDeliveryMode" + "$ref": "#/definitions/OutputDataDeliveryMode", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "uri": { "description": "Uri path.", "$ref": "#/definitions/UriReference", + "readOnly": true, + "x-ms-mutability": [ + "read" + ], "x-nullable": true } }, @@ -7700,11 +7712,7 @@ "name": "JobStatus", "modelAsString": true }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "JobType": { "description": "Enum to determine the type of job.", @@ -8053,7 +8061,11 @@ }, "provisioningState": { "description": "Provisioning state for the endpoint deployment.", - "$ref": "#/definitions/DeploymentProvisioningState" + "$ref": "#/definitions/DeploymentProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "readinessProbe": { "description": "Readiness probe validates if the container is ready to serve traffic. The properties and defaults are the same as liveness probe.", @@ -8145,7 +8157,11 @@ }, "provisioningState": { "description": "Provisioning state for the endpoint.", - "$ref": "#/definitions/EndpointProvisioningState" + "$ref": "#/definitions/EndpointProvisioningState", + "readOnly": true, + "x-ms-mutability": [ + "read" + ] }, "traffic": { "description": "Percentage of traffic from endpoint to divert to each deployment. Traffic values need to sum to 100.", @@ -8287,11 +8303,7 @@ "name": "OutputDataDeliveryMode", "modelAsString": true }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "OutputPathAssetReference": { "description": "Reference to an asset via its path in a job output.", @@ -9648,11 +9660,7 @@ "x-nullable": true } }, - "additionalProperties": false, - "readOnly": true, - "x-ms-mutability": [ - "read" - ] + "additionalProperties": false }, "UserAssignedIdentityMeta": { "description": "User assigned identities associated with a resource.",