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..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 @@ -172,7 +172,14 @@ } }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "name": "x-ms-github-auxiliary", + "in": "header", + "description": "Github personal access token used for SourceControl.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { @@ -231,7 +238,28 @@ "type": "string" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "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/v5/types.json#/parameters/ApiVersionParameter" } ], "responses": { 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..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 @@ -4,6 +4,9 @@ "resourceGroupName": "workerapps-rg-xj", "containerAppName": "testcanadacentral", "sourceControlName": "current", + "x-ms-github-auxiliary": "githubaccesstoken", + "ignoreWorkflowDeletionFailure": false, + "deleteWorkflow": false, "api-version": "2024-02-02-preview" }, "responses": {