From 9d7619e4c67418685f73ace6e9ee713ef1ee2f08 Mon Sep 17 00:00:00 2001 From: ChenglongLiu Date: Mon, 11 Nov 2024 22:38:09 -0800 Subject: [PATCH] Fix cdn.json --- .../Microsoft.Cdn/stable/2024-09-01/cdn.json | 69 ++----------------- 1 file changed, 5 insertions(+), 64 deletions(-) diff --git a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-09-01/cdn.json b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-09-01/cdn.json index 8a76359927c1..4d51a46819b5 100644 --- a/specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-09-01/cdn.json +++ b/specification/cdn/resource-manager/Microsoft.Cdn/stable/2024-09-01/cdn.json @@ -5665,7 +5665,7 @@ "$ref": "#/definitions/DeepCreatedOriginProperties" } }, - "x-ms-azure-resource": true + "x-ms-azure-resource": false }, "DeepCreatedOriginProperties": { "description": "Properties of the origin created on the CDN endpoint.", @@ -5741,7 +5741,7 @@ "readOnly": true } }, - "x-ms-azure-resource": true + "x-ms-azure-resource": false }, "DeepCreatedOriginGroup": { "description": "The origin group for CDN content which is added when creating a CDN endpoint. Traffic is sent to the origins within the origin group based on origin health.", @@ -5759,7 +5759,7 @@ "$ref": "#/definitions/DeepCreatedOriginGroupProperties" } }, - "x-ms-azure-resource": true + "x-ms-azure-resource": false }, "DeepCreatedOriginGroupProperties": { "description": "Properties of the origin group created on the CDN endpoint.", @@ -5794,7 +5794,7 @@ "$ref": "#/definitions/ResponseBasedOriginErrorDetectionParameters" } }, - "x-ms-azure-resource": true + "x-ms-azure-resource": false }, "ResourceReference": { "properties": { @@ -7324,69 +7324,10 @@ "type": "object", "properties": { "error": { - "description": "The error object.", - "$ref": "#/definitions/ErrorDetail" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorDetail" } } }, - "ErrorDetail": { - "description": "The error detail.", - "type": "object", - "properties": { - "code": { - "readOnly": true, - "type": "string", - "description": "The error code." - }, - "message": { - "readOnly": true, - "type": "string", - "description": "The error message." - }, - "target": { - "readOnly": true, - "type": "string", - "description": "The error target." - }, - "details": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ErrorDetail" - }, - "x-ms-identifiers": [ - "message", - "target" - ], - "description": "The error details." - }, - "additionalInfo": { - "readOnly": true, - "type": "array", - "items": { - "$ref": "#/definitions/ErrorAdditionalInfo" - }, - "x-ms-identifiers": [], - "description": "The error additional info." - } - } - }, - "ErrorAdditionalInfo": { - "type": "object", - "properties": { - "type": { - "readOnly": true, - "type": "string", - "description": "The additional info type." - }, - "info": { - "readOnly": true, - "type": "object", - "description": "The additional info." - } - }, - "description": "The resource management error additional info." - }, "CdnMigrationToAfdParameters": { "type": "object", "description": "Request body for Migrate operation.",