From 0d847fd27172d087f21d2f82f05f973f175920d3 Mon Sep 17 00:00:00 2001 From: Ryan W Date: Mon, 26 Oct 2020 18:13:09 -0700 Subject: [PATCH] Revert "Tsunkaraneni/create ui definition (#11008)" (#11344) This reverts commit 93e50bddbd4532743364fbee6ba0079aa5c662c8. This change was accidentally merged before the service and manifest changes were deployed. Now, the feature is potentially going to be modified; as a result, we should remove this until the feature is complete. deleted: specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsCreate.json deleted: specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsDelete.json deleted: specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsGet.json deleted: specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsList.json deleted: specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsPatch.json deleted: specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsCreate.json deleted: specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsDelete.json deleted: specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsGet.json deleted: specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsListByResourceGroup.json deleted: specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsListBySubscription.json deleted: specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsPatch.json deleted: specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/templateSpecs.json modified: specification/resources/resource-manager/readme.md modified: specification/resources/resource-manager/readme.python.md --- .../examples/TemplateSpecVersionsCreate.json | 73 -- .../examples/TemplateSpecVersionsDelete.json | 13 - .../examples/TemplateSpecVersionsGet.json | 36 - .../examples/TemplateSpecVersionsList.json | 50 - .../examples/TemplateSpecVersionsPatch.json | 44 - .../examples/TemplateSpecsCreate.json | 54 -- .../examples/TemplateSpecsDelete.json | 12 - .../examples/TemplateSpecsGet.json | 29 - .../TemplateSpecsListByResourceGroup.json | 49 - .../TemplateSpecsListBySubscription.json | 48 - .../examples/TemplateSpecsPatch.json | 37 - .../2020-10-01-preview/templateSpecs.json | 867 ------------------ .../resources/resource-manager/readme.md | 9 - .../resource-manager/readme.python.md | 15 - 14 files changed, 1336 deletions(-) delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsCreate.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsDelete.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsGet.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsList.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsPatch.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsCreate.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsDelete.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsGet.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsListByResourceGroup.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsListBySubscription.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsPatch.json delete mode 100644 specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/templateSpecs.json diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsCreate.json deleted file mode 100644 index 8871f54c9fc0..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsCreate.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "templateSpecRG", - "templateSpecName": "simpleTemplateSpec", - "templateSpecVersion": "v1.0", - "templateSpecVersionModel": { - "location": "eastus", - "properties": { - "description": "This is version v1.0 of our template content", - "template": { - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "resources": [] - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/simpleTemplateSpec/versions/v1.0", - "type": "Microsoft.Resources/templateSpecs/versions", - "name": "v1.0", - "location": "eastus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-01T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" - }, - "properties": { - "description": "This is version v1.0 of our template content", - "template": { - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "resources": [] - } - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/simpleTemplateSpec/versions/v1.0", - "type": "Microsoft.Resources/templateSpecs/versions", - "name": "v1.0", - "location": "eastus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-01T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-01T01:01:01.1075056Z" - }, - "properties": { - "description": "This is version v1.0 of our template content", - "template": { - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "resources": [] - } - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsDelete.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsDelete.json deleted file mode 100644 index 944606a6e958..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsDelete.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "templateSpecRG", - "templateSpecName": "simpleTemplateSpec", - "templateSpecVersion": "v1.0" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsGet.json deleted file mode 100644 index 358d16cbb79e..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsGet.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "templateSpecRG", - "templateSpecName": "simpleTemplateSpec", - "templateSpecVersion": "v1.0" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/simpleTemplateSpec/versions/v1.0", - "type": "Microsoft.Resources/templateSpecs/versions", - "name": "v1.0", - "location": "eastus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-01T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" - }, - "properties": { - "description": "This is version v1.0 of our template content", - "template": { - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "resources": [] - } - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsList.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsList.json deleted file mode 100644 index 78a7dfff1101..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsList.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "templateSpecRG", - "templateSpecName": "simpleTemplateSpec" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/simpleTemplateSpec/versions/v1.0", - "type": "Microsoft.Resources/templateSpecs/versions", - "name": "v1.0", - "location": "eastus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-01T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" - }, - "properties": { - "description": "This is version v1.0" - } - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/simpleTemplateSpec/versions/v2.0", - "type": "Microsoft.Resources/templateSpecs/versions", - "name": "v2.0", - "location": "eastus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-03T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-04T02:03:01.1974346Z" - }, - "properties": { - "description": "This is another version (v2.0)" - } - } - ] - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsPatch.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsPatch.json deleted file mode 100644 index 2da272aeb19c..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecVersionsPatch.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "templateSpecRG", - "templateSpecName": "simpleTemplateSpec", - "templateSpecVersion": "v1.0", - "templateSpecVersionUpdateModel": { - "tags": { - "myTag": "My Value" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/simpleTemplateSpec/versions/v1.0", - "type": "Microsoft.Resources/templateSpecs/versions", - "name": "v1.0", - "location": "eastus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-01T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" - }, - "properties": { - "description": "This is version v1.0 of our template content", - "template": { - "$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", - "contentVersion": "1.0.0.0", - "parameters": {}, - "resources": [] - } - }, - "tags": { - "myTag": "My Value" - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsCreate.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsCreate.json deleted file mode 100644 index c08c0ac3d1d6..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsCreate.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "templateSpecRG", - "templateSpecName": "simpleTemplateSpec", - "templateSpec": { - "location": "eastus", - "properties": { - "description": "A very simple Template Spec" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/simpleTemplateSpec", - "type": "Microsoft.Resources/templateSpecs", - "name": "simpleTemplateSpec", - "location": "eastus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-01T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-01T01:01:01.1075056Z" - }, - "properties": { - "description": "A very simple Template Spec" - } - } - }, - "201": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/simpleTemplateSpec", - "type": "Microsoft.Resources/templateSpecs", - "name": "simpleTemplateSpec", - "location": "eastus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-01T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" - }, - "properties": { - "description": "A very simple Template Spec" - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsDelete.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsDelete.json deleted file mode 100644 index d8bbbb09f471..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsDelete.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "templateSpecRG", - "templateSpecName": "simpleTemplateSpec" - }, - "responses": { - "200": {}, - "204": {} - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsGet.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsGet.json deleted file mode 100644 index 4a712621bde8..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsGet.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "templateSpecRG", - "templateSpecName": "simpleTemplateSpec" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/simpleTemplateSpec", - "type": "Microsoft.Resources/templateSpecs", - "name": "simpleTemplateSpec", - "location": "eastus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-01T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" - }, - "properties": { - "description": "A very simple Template Spec" - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsListByResourceGroup.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsListByResourceGroup.json deleted file mode 100644 index 0c700fbcf888..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsListByResourceGroup.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "templateSpecRG" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/simpleTemplateSpec", - "type": "Microsoft.Resources/templateSpecs", - "name": "simpleTemplateSpec", - "location": "eastus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-01T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" - }, - "properties": { - "description": "A very simple Template Spec" - } - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/anotherSimpleTemplateSpec", - "type": "Microsoft.Resources/templateSpecs", - "name": "anotherSimpleTemplateSpec", - "location": "westus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-02T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-03T02:03:01.1974346Z" - }, - "properties": { - "description": "Another very simple Template Spec" - } - } - ] - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsListBySubscription.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsListBySubscription.json deleted file mode 100644 index 7509ac9c90fc..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsListBySubscription.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000" - }, - "responses": { - "200": { - "body": { - "value": [ - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/simpleTemplateSpec", - "type": "Microsoft.Resources/templateSpecs", - "name": "simpleTemplateSpec", - "location": "eastus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-01T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" - }, - "properties": { - "description": "A very simple Template Spec" - } - }, - { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG2/providers/Microsoft.Resources/templateSpecs/anotherSimpleTemplateSpec", - "type": "Microsoft.Resources/templateSpecs", - "name": "anotherSimpleTemplateSpec", - "location": "westus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-02T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-03T02:03:01.1974346Z" - }, - "properties": { - "description": "Another very simple Template Spec" - } - } - ] - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsPatch.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsPatch.json deleted file mode 100644 index 94593a2913d3..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/examples/TemplateSpecsPatch.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "parameters": { - "api-version": "2020-10-01-preview", - "subscriptionId": "00000000-0000-0000-0000-000000000000", - "resourceGroupName": "templateSpecRG", - "templateSpecName": "simpleTemplateSpec", - "templateSpec": { - "tags": { - "myTag": "My Value" - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/templateSpecRG/providers/Microsoft.Resources/templateSpecs/simpleTemplateSpec", - "type": "Microsoft.Resources/templateSpecs", - "name": "simpleTemplateSpec", - "location": "eastus", - "systemData": { - "createdBy": "string", - "createdByType": "Application", - "createdAt": "2020-02-01T01:01:01.1075056Z", - "lastModifiedBy": "string", - "lastModifiedByType": "Application", - "lastModifiedAt": "2020-02-02T02:03:01.1974346Z" - }, - "properties": { - "description": "A very simple Template Spec" - }, - "tags": { - "myTag": "My Value" - } - } - } - } -} diff --git a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/templateSpecs.json b/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/templateSpecs.json deleted file mode 100644 index ae2b1b39d302..000000000000 --- a/specification/resources/resource-manager/Microsoft.Resources/preview/2020-10-01-preview/templateSpecs.json +++ /dev/null @@ -1,867 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "TemplateSpecsClient", - "description": "The APIs listed in this specification can be used to manage Template Spec resources through the Azure Resource Manager.", - "version": "2020-10-01-preview" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "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": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}": { - "put": { - "tags": [ - "TemplateSpecs" - ], - "operationId": "TemplateSpecs_CreateOrUpdate", - "description": "Creates or updates a Template Spec.", - "x-ms-examples": { - "TemplateSpecsCreateUpdate": { - "$ref": "./examples/TemplateSpecsCreate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/TemplateSpecNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "templateSpec", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TemplateSpec" - }, - "description": "Template Spec supplied to the operation." - } - ], - "responses": { - "200": { - "description": "OK - The Template Spec update request has succeeded.", - "schema": { - "$ref": "#/definitions/TemplateSpec" - } - }, - "201": { - "description": "Template Spec created.", - "schema": { - "$ref": "#/definitions/TemplateSpec" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/TemplateSpecsError" - } - } - } - }, - "patch": { - "tags": [ - "TemplateSpecs" - ], - "operationId": "TemplateSpecs_Update", - "description": "Updates Template Spec tags with specified values.", - "x-ms-examples": { - "TemplateSpecsPatch": { - "$ref": "./examples/TemplateSpecsPatch.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/TemplateSpecNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "templateSpec", - "in": "body", - "schema": { - "$ref": "#/definitions/TemplateSpecUpdateModel" - }, - "description": "Template Spec resource with the tags to be updated." - } - ], - "responses": { - "200": { - "description": "OK -- Template Spec tags are updated.", - "schema": { - "$ref": "#/definitions/TemplateSpec" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/TemplateSpecsError" - } - } - } - }, - "get": { - "tags": [ - "TemplateSpecs" - ], - "operationId": "TemplateSpecs_Get", - "description": "Gets a Template Spec with a given name.", - "x-ms-examples": { - "TemplateSpecsGet": { - "$ref": "./examples/TemplateSpecsGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/TemplateSpecNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the Template Spec.", - "schema": { - "$ref": "#/definitions/TemplateSpec" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/TemplateSpecsError" - } - } - } - }, - "delete": { - "tags": [ - "TemplateSpecs" - ], - "operationId": "TemplateSpecs_Delete", - "description": "Deletes a Template Spec by name. When operation completes, status code 200 returned without content.", - "x-ms-examples": { - "TemplateSpecsDelete": { - "$ref": "./examples/TemplateSpecsDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/TemplateSpecNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Template Spec deleted." - }, - "204": { - "description": "Template Spec does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/TemplateSpecsError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs/": { - "get": { - "tags": [ - "TemplateSpecs" - ], - "operationId": "TemplateSpecs_ListBySubscription", - "description": "Lists all the Template Specs within the specified subscriptions.", - "x-ms-examples": { - "TemplatesSpecsListBySubscription": { - "$ref": "./examples/TemplateSpecsListBySubscription.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of Template Specs.", - "schema": { - "$ref": "#/definitions/TemplateSpecsListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/TemplateSpecsError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/": { - "get": { - "tags": [ - "TemplateSpecs" - ], - "operationId": "TemplateSpecs_ListByResourceGroup", - "description": "Lists all the Template Specs within the specified resource group.", - "x-ms-examples": { - "TemplateSpecsListByResourceGroup": { - "$ref": "./examples/TemplateSpecsListByResourceGroup.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of Template Specs.", - "schema": { - "$ref": "#/definitions/TemplateSpecsListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/TemplateSpecsError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}": { - "put": { - "tags": [ - "TemplateSpecVersions" - ], - "operationId": "TemplateSpecVersions_CreateOrUpdate", - "description": "Creates or updates a Template Spec version.", - "x-ms-examples": { - "TemplateSpecVersionsCreateUpdate": { - "$ref": "./examples/TemplateSpecVersionsCreate.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/TemplateSpecNameParameter" - }, - { - "$ref": "#/parameters/TemplateSpecVersionParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "name": "templateSpecVersionModel", - "in": "body", - "required": true, - "schema": { - "$ref": "#/definitions/TemplateSpecVersion" - }, - "description": "Template Spec Version supplied to the operation." - } - ], - "responses": { - "200": { - "description": "OK - The Template Spec Version has been successfully updated.", - "schema": { - "$ref": "#/definitions/TemplateSpecVersion" - } - }, - "201": { - "description": "Template Spec Version created.", - "schema": { - "$ref": "#/definitions/TemplateSpecVersion" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/TemplateSpecsError" - } - } - } - }, - "patch": { - "tags": [ - "TemplateSpecVersions" - ], - "operationId": "TemplateSpecVersions_Update", - "description": "Updates Template Spec Version tags with specified values.", - "x-ms-examples": { - "TemplateSpecsPatch": { - "$ref": "./examples/TemplateSpecVersionsPatch.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/TemplateSpecNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TemplateSpecVersionParameter" - }, - { - "name": "templateSpecVersionUpdateModel", - "in": "body", - "schema": { - "$ref": "#/definitions/TemplateSpecVersionUpdateModel" - }, - "description": "Template Spec Version resource with the tags to be updated." - } - ], - "responses": { - "200": { - "description": "OK -- Template Spec Version tags are updated.", - "schema": { - "$ref": "#/definitions/TemplateSpecVersion" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/TemplateSpecsError" - } - } - } - }, - "get": { - "tags": [ - "TemplateSpecVersions" - ], - "operationId": "TemplateSpecVersions_Get", - "description": "Gets a Template Spec version from a specific Template Spec.", - "x-ms-examples": { - "TemplateSpecVersionsGet": { - "$ref": "./examples/TemplateSpecVersionsGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/TemplateSpecNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TemplateSpecVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns information about the Template Spec version.", - "schema": { - "$ref": "#/definitions/TemplateSpecVersion" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/TemplateSpecsError" - } - } - } - }, - "delete": { - "tags": [ - "TemplateSpecVersions" - ], - "operationId": "TemplateSpecVersions_Delete", - "description": "Deletes a specific version from a Template Spec. When operation completes, status code 200 returned without content.", - "x-ms-examples": { - "TemplateSpecVersionsDelete": { - "$ref": "./examples/TemplateSpecVersionsDelete.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/TemplateSpecNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/TemplateSpecVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Template Spec Version deleted." - }, - "204": { - "description": "Template Spec Version does not exist." - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/TemplateSpecsError" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions": { - "get": { - "tags": [ - "TemplateSpecVersions" - ], - "operationId": "TemplateSpecVersions_List", - "description": "Lists all the Template Spec versions in the specified Template Spec.", - "x-ms-examples": { - "TemplateSpecVersions_List": { - "$ref": "./examples/TemplateSpecVersionsList.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/ResourceGroupNameParameter" - }, - { - "$ref": "#/parameters/TemplateSpecNameParameter" - }, - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK - Returns an array of Template Spec versions.", - "schema": { - "$ref": "#/definitions/TemplateSpecVersionsListResult" - } - }, - "default": { - "description": "Error response describing why the operation failed.", - "schema": { - "$ref": "#/definitions/TemplateSpecsError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - } - }, - "definitions": { - "TemplateSpec": { - "required": [ - "location" - ], - "type": "object", - "description": "Template Spec object.", - "allOf": [ - { - "$ref": "#/definitions/AzureResourceBase" - } - ], - "properties": { - "location": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations." - }, - "properties": { - "description": "Template Spec properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/TemplateSpecProperties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "TemplateSpecProperties": { - "type": "object", - "description": "Template Spec properties.", - "properties": { - "description": { - "type": "string", - "maxLength": 4096, - "description": "Template Spec description." - }, - "displayName": { - "type": "string", - "maxLength": 64, - "description": "Template Spec display name." - } - } - }, - "TemplateSpecsListResult": { - "description": "List of Template Specs.", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/TemplateSpec" - }, - "description": "An array of Template Specs." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URL to use for getting the next set of results." - } - } - }, - "TemplateSpecUpdateModel": { - "type": "object", - "description": "Template Spec properties to be updated (only tags are currently supported).", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AzureResourceBase" - } - ] - }, - "TemplateSpecVersionUpdateModel": { - "type": "object", - "description": "Template Spec Version properties to be updated (only tags are currently supported).", - "properties": { - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - }, - "allOf": [ - { - "$ref": "#/definitions/AzureResourceBase" - } - ] - }, - "AzureResourceBase": { - "x-ms-azure-resource": true, - "type": "object", - "description": "Common properties for all Azure resources.", - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "String Id used to locate any resource on Azure." - }, - "name": { - "readOnly": true, - "type": "string", - "description": "Name of this resource." - }, - "type": { - "readOnly": true, - "type": "string", - "description": "Type of this resource." - }, - "systemData": { - "readOnly": true, - "type": "object", - "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/systemData" - } - } - }, - "TemplateSpecVersion": { - "required": [ - "properties", - "location" - ], - "type": "object", - "description": "Template Spec Version object.", - "allOf": [ - { - "$ref": "#/definitions/AzureResourceBase" - } - ], - "properties": { - "location": { - "type": "string", - "x-ms-mutability": [ - "read", - "create" - ], - "description": "The location of the Template Spec Version. It must match the location of the parent Template Spec." - }, - "properties": { - "description": "Template Spec Version properties.", - "x-ms-client-flatten": true, - "$ref": "#/definitions/TemplateSpecVersionProperties" - }, - "tags": { - "type": "object", - "description": "Resource tags.", - "additionalProperties": { - "type": "string" - } - } - } - }, - "TemplateSpecVersionProperties": { - "type": "object", - "description": "Template Spec Version properties.", - "properties": { - "artifacts": { - "type": "array", - "items": { - "$ref": "#/definitions/TemplateSpecArtifact" - }, - "description": "An array of Template Spec artifacts." - }, - "description": { - "type": "string", - "maxLength": 4096, - "description": "Template Spec version description." - }, - "template": { - "type": "object", - "description": "The Azure Resource Manager template content." - }, - "uiDefinition": { - "type": "object", - "description": "The Azure Resource Manager template UI definition content" - } - } - }, - "TemplateSpecVersionsListResult": { - "description": "List of Template Specs versions", - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/TemplateSpecVersion" - }, - "description": "An array of Template Spec versions." - }, - "nextLink": { - "readOnly": true, - "type": "string", - "description": "The URL to use for getting the next set of results." - } - } - }, - "TemplateSpecArtifact": { - "type": "object", - "discriminator": "kind", - "description": "Represents a Template Spec artifact.", - "properties": { - "path": { - "type": "string", - "description": "A filesystem safe relative path of the artifact." - }, - "kind": { - "type": "string", - "description": "The kind of artifact.", - "enum": [ - "template" - ], - "x-ms-enum": { - "name": "TemplateSpecArtifactKind", - "modelAsString": true, - "values": [ - { - "value": "template", - "description": "The artifact represents an embedded Azure Resource Manager template." - } - ] - } - } - }, - "required": [ - "kind", - "path" - ] - }, - "TemplateSpecTemplateArtifact": { - "type": "object", - "x-ms-discriminator-value": "template", - "description": "Represents a Template Spec artifact containing an embedded Azure Resource Manager template.", - "properties": { - "template": { - "type": "object", - "description": "The Azure Resource Manager template." - } - }, - "required": [ - "template" - ], - "allOf": [ - { - "$ref": "#/definitions/TemplateSpecArtifact" - } - ] - }, - "TemplateSpecsError": { - "properties": { - "error": { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse" - } - }, - "description": "Template Specs error response." - } - }, - "parameters": { - "SubscriptionIdParameter": { - "name": "subscriptionId", - "in": "path", - "required": true, - "type": "string", - "x-ms-parameter-location": "client", - "description": "Subscription Id which forms part of the URI for every service call." - }, - "ResourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the resource group. The name is case insensitive.", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - }, - "TemplateSpecNameParameter": { - "name": "templateSpecName", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "description": "Name of the Template Spec.", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - }, - "TemplateSpecVersionParameter": { - "name": "templateSpecVersion", - "in": "path", - "required": true, - "type": "string", - "pattern": "^[-\\w\\._\\(\\)]+$", - "description": "The version of the Template Spec.", - "minLength": 1, - "maxLength": 90, - "x-ms-parameter-location": "method" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "x-ms-parameter-location": "client", - "description": "Client Api version." - } - } -} diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 7bbe66ddb62a..4a866de90b49 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -265,15 +265,6 @@ input-file: - Microsoft.Resources/preview/2019-06-01-preview/templateSpecs.json ``` -### Tag: package-templatespecs-2020-10-preview - -These settings apply only when `--tag=package-templatespecs-2020-10-preview` is specified on the command line. - -``` yaml $(tag) == 'package-templatespecs-2020-10-preview' -input-file: -- Microsoft.Resources/preview/2020-10-01-preview/templateSpecs.json -``` - ### Tag: package-policy-2016-12 These settings apply only when `--tag=package-policy-2016-12` is specified on the command line. diff --git a/specification/resources/resource-manager/readme.python.md b/specification/resources/resource-manager/readme.python.md index 3d6c205a40fb..fc83b036dc42 100644 --- a/specification/resources/resource-manager/readme.python.md +++ b/specification/resources/resource-manager/readme.python.md @@ -60,7 +60,6 @@ batch: - tag: package-deploymentscripts-2020-10 - tag: package-deploymentscripts-2019-10-preview - tag: package-templatespecs-2019-06-preview - - tag: package-templatespecs-2020-10-preview ``` ```yaml $(multiapi) && $(track2) @@ -106,7 +105,6 @@ batch: - tag: package-deploymentscripts-2019-10-preview - multiapiscript-deploymentscripts: true - tag: package-templatespecs-2019-06-preview - - tag: package-templatespecs-2020-10-preview - multiapiscript-templatespecs: true ``` @@ -596,16 +594,3 @@ python: namespace: azure.mgmt.resource.templatespecs.v2019_06_01_preview output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/templatespecs/v2019_06_01_preview ``` - -### Tag: package-templatespecs-2020-10-preview and python - -These settings apply only when `--tag=package-templatespecs-2020-10-preview` is specified on the command line. -Please also specify `--python-sdks-folder=`. - -``` yaml $(tag) == 'package-templatespecs-2020-10-preview' -namespace: azure.mgmt.resource.templatespecs.v2020_10_01_preview -output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/templatespecs/v2020_10_01_preview -python: - namespace: azure.mgmt.resource.templatespecs.v2020_10_01_preview - output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/templatespecs/v2020_10_01_preview -```