From 6c08aadee3ef6724ef63b0d46c7cc89b8dd601ea Mon Sep 17 00:00:00 2001 From: Risong Na Date: Tue, 4 Feb 2020 16:56:06 -0800 Subject: [PATCH] Using common types.json --- .../preview/2020-02-01-preview/Common.json | 80 ------------------- .../2020-02-01-preview/MediaGraphs.json | 10 +-- 2 files changed, 5 insertions(+), 85 deletions(-) delete mode 100644 specification/mediaservices/resource-manager/Microsoft.Media/preview/2020-02-01-preview/Common.json diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2020-02-01-preview/Common.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2020-02-01-preview/Common.json deleted file mode 100644 index 02ec66a8b421..000000000000 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2020-02-01-preview/Common.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "Azure Media Services", - "version": "2020-02-01-preview" - }, - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "Impersonate your user account" - } - } - }, - "paths": {}, - "definitions": { - "Resource": { - "description": "The core properties of ARM resources.", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "Fully qualified resource ID for the resource." - }, - "name": { - "readOnly": true, - "type": "string", - "description": "The name of the resource." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "The type of the resource." - } - }, - "x-ms-azure-resource": true - }, - "TrackedResource": { - "description": "The resource model definition for a ARM tracked resource.", - "properties": { - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "x-ms-mutability": [ - "read", - "create", - "update" - ], - "description": "Resource tags." - }, - "location": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The Azure Region of the resource." - } - }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - }, - "ProxyResource": { - "description": "The resource model definition for a ARM proxy resource.", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ] - } - } -} diff --git a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2020-02-01-preview/MediaGraphs.json b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2020-02-01-preview/MediaGraphs.json index 543f18e8ced5..23fe99c4c1f1 100644 --- a/specification/mediaservices/resource-manager/Microsoft.Media/preview/2020-02-01-preview/MediaGraphs.json +++ b/specification/mediaservices/resource-manager/Microsoft.Media/preview/2020-02-01-preview/MediaGraphs.json @@ -1,7 +1,4 @@ { - "schemes": [ - "https" - ], "swagger": "2.0", "info": { "title": "Azure Media Services", @@ -9,6 +6,9 @@ "version": "2020-02-01-preview" }, "host": "management.azure.com", + "schemes": [ + "https" + ], "consumes": [ "application/json" ], @@ -47,7 +47,7 @@ "values": [ { "value": "Creating", - "description": "Media Graph is Creating." + "description": "Media Graph is being created." }, { "value": "Running", @@ -403,7 +403,7 @@ "MediaGraph": { "allOf": [ { - "$ref": "./Common.json#/definitions/ProxyResource" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" } ], "properties": {