From 9d6013e7b585aab559ab7b124bce8c139fd76fd5 Mon Sep 17 00:00:00 2001 From: Juliehzl Date: Tue, 25 Jun 2024 15:36:48 +0800 Subject: [PATCH 1/4] fix --- .../2024-02-02-preview/SourceControls.json | 30 ++++++++++++++++++- .../SourceControls_CreateOrUpdate.json | 1 + .../examples/SourceControls_Delete.json | 1 + 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/SourceControls.json b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/SourceControls.json index 17e323d29504..e102121afcd5 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/SourceControls.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/SourceControls.json @@ -171,6 +171,13 @@ "$ref": "#/definitions/SourceControl" } }, + { + "name": "x-ms-github-auxiliary", + "in": "header", + "description": "Github personal access token used for SourceControl.", + "required": true, + "type": "string" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } @@ -230,6 +237,27 @@ "required": true, "type": "string" }, + { + "name": "x-ms-github-auxiliary", + "in": "header", + "description": "Github personal access token used for SourceControl.", + "required": true, + "type": "string" + }, + { + "name": "ignoreWorkflowDeletionFailure", + "in": "query", + "description": "Ignore Workflow Deletion Failure.", + "required": false, + "type": "boolean" + }, + { + "name": "deleteWorkflow", + "in": "query", + "description": "Delete workflow.", + "required": false, + "type": "boolean" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } @@ -453,4 +481,4 @@ } } } -} +} \ No newline at end of file diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/SourceControls_CreateOrUpdate.json b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/SourceControls_CreateOrUpdate.json index 2d3ac66ec5f5..2dd0cce136f5 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/SourceControls_CreateOrUpdate.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/SourceControls_CreateOrUpdate.json @@ -4,6 +4,7 @@ "resourceGroupName": "workerapps-rg-xj", "containerAppName": "testcanadacentral", "sourceControlName": "current", + "x-ms-github-auxiliary": "githubaccesstoken", "api-version": "2024-02-02-preview", "sourceControlEnvelope": { "properties": { diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/SourceControls_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/SourceControls_Delete.json index aaff50f3e387..525d78fe268c 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/SourceControls_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/SourceControls_Delete.json @@ -4,6 +4,7 @@ "resourceGroupName": "workerapps-rg-xj", "containerAppName": "testcanadacentral", "sourceControlName": "current", + "x-ms-github-auxiliary": "githubaccesstoken", "api-version": "2024-02-02-preview" }, "responses": { From ece1fd48bd231379ad90b5db09dc88c7824d2189 Mon Sep 17 00:00:00 2001 From: Juliehzl Date: Tue, 25 Jun 2024 15:40:01 +0800 Subject: [PATCH 2/4] fix --- .../preview/2024-02-02-preview/SourceControls.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/SourceControls.json b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/SourceControls.json index e102121afcd5..c67ac7902a64 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/SourceControls.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/SourceControls.json @@ -481,4 +481,4 @@ } } } -} \ No newline at end of file +} From 7d2c1c9d17d7a805296734bc4e61398dc6fcc6ab Mon Sep 17 00:00:00 2001 From: Juliehzl Date: Wed, 26 Jun 2024 14:02:51 +0800 Subject: [PATCH 3/4] fix --- .../preview/2024-02-02-preview/SourceControls.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/SourceControls.json b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/SourceControls.json index c67ac7902a64..457bad55b2ff 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/SourceControls.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/SourceControls.json @@ -179,7 +179,7 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -259,7 +259,7 @@ "type": "boolean" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { From 2e4091422812f30e5bf2b59ea08b4df547ec9c6b Mon Sep 17 00:00:00 2001 From: Juliehzl Date: Fri, 28 Jun 2024 15:22:43 +0800 Subject: [PATCH 4/4] update examples --- .../2024-02-02-preview/examples/SourceControls_Delete.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/SourceControls_Delete.json b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/SourceControls_Delete.json index 525d78fe268c..d9f0a54543aa 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/SourceControls_Delete.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2024-02-02-preview/examples/SourceControls_Delete.json @@ -5,6 +5,8 @@ "containerAppName": "testcanadacentral", "sourceControlName": "current", "x-ms-github-auxiliary": "githubaccesstoken", + "ignoreWorkflowDeletionFailure": false, + "deleteWorkflow": false, "api-version": "2024-02-02-preview" }, "responses": {