From 170509529998680f6fd8154d313a5267d24ff719 Mon Sep 17 00:00:00 2001 From: anfranci Date: Mon, 17 Jul 2023 13:21:08 -0500 Subject: [PATCH 1/4] fix start job exec template required property --- .../Microsoft.App/preview/2022-11-01-preview/Jobs.json | 4 ++-- .../Microsoft.App/preview/2023-04-01-preview/Jobs.json | 4 ++-- .../Microsoft.App/preview/2023-05-02-preview/Jobs.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/Jobs.json b/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/Jobs.json index 4ff16aba1ff7..c6e11efb2762 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/Jobs.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/Jobs.json @@ -353,7 +353,7 @@ "name": "template", "in": "body", "description": "Properties used to start a job instance.", - "required": true, + "required": false, "schema": { "$ref": "#/definitions/JobExecutionTemplate" } @@ -654,7 +654,7 @@ "triggerType": { "description": "Trigger type of the job", "enum": [ - "Scheduled", + "Schedule", "Event", "Manual" ], diff --git a/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/Jobs.json b/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/Jobs.json index 8736900cd2d3..dcbc34e943cd 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/Jobs.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/Jobs.json @@ -334,7 +334,7 @@ "name": "template", "in": "body", "description": "Properties used to start a job instance.", - "required": true, + "required": false, "schema": { "$ref": "#/definitions/JobExecutionTemplate" } @@ -666,7 +666,7 @@ "triggerType": { "description": "Trigger type of the job", "enum": [ - "Scheduled", + "Schedule", "Event", "Manual" ], diff --git a/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json b/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json index b1857282f369..08fb1da1040a 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json @@ -334,7 +334,7 @@ "name": "template", "in": "body", "description": "Properties used to start a job instance.", - "required": true, + "required": false, "schema": { "$ref": "#/definitions/JobExecutionTemplate" } From 729dde0ee68ad394f8d7254ec501f6d68ee947ca Mon Sep 17 00:00:00 2001 From: anfranci Date: Mon, 17 Jul 2023 13:37:13 -0500 Subject: [PATCH 2/4] fix start job exec template required property --- .../Microsoft.App/preview/2022-11-01-preview/Jobs.json | 2 +- .../Microsoft.App/preview/2023-04-01-preview/Jobs.json | 2 +- .../Microsoft.App/preview/2023-05-02-preview/Jobs.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/Jobs.json b/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/Jobs.json index c6e11efb2762..2842db8f0521 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/Jobs.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2022-11-01-preview/Jobs.json @@ -352,7 +352,7 @@ { "name": "template", "in": "body", - "description": "Properties used to start a job instance.", + "description": "Properties used to start a job execution.", "required": false, "schema": { "$ref": "#/definitions/JobExecutionTemplate" diff --git a/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/Jobs.json b/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/Jobs.json index dcbc34e943cd..6432dc1fd423 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/Jobs.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/Jobs.json @@ -333,7 +333,7 @@ { "name": "template", "in": "body", - "description": "Properties used to start a job instance.", + "description": "Properties used to start a job execution.", "required": false, "schema": { "$ref": "#/definitions/JobExecutionTemplate" diff --git a/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json b/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json index 08fb1da1040a..150d1ffddbf5 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json @@ -333,7 +333,7 @@ { "name": "template", "in": "body", - "description": "Properties used to start a job instance.", + "description": "Properties used to start a job execution.", "required": false, "schema": { "$ref": "#/definitions/JobExecutionTemplate" From 146af2844ec10950c1766db61cc8cd7f34f1ebdd Mon Sep 17 00:00:00 2001 From: anfranci Date: Thu, 20 Jul 2023 13:21:23 -0500 Subject: [PATCH 3/4] fix start job exec template required property --- .../Microsoft.App/preview/2023-05-02-preview/Jobs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json b/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json index 150d1ffddbf5..2ba45835ed19 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json @@ -333,7 +333,7 @@ { "name": "template", "in": "body", - "description": "Properties used to start a job execution.", + "description": "Properties used to start job execution.", "required": false, "schema": { "$ref": "#/definitions/JobExecutionTemplate" From 330c9e6d6f1e527f2c7aa70f7669cbb31de8fc5e Mon Sep 17 00:00:00 2001 From: anfranci Date: Thu, 20 Jul 2023 13:30:11 -0500 Subject: [PATCH 4/4] fix start job exec template required property --- .../Microsoft.App/preview/2023-05-02-preview/Jobs.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json b/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json index 2ba45835ed19..150d1ffddbf5 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2023-05-02-preview/Jobs.json @@ -333,7 +333,7 @@ { "name": "template", "in": "body", - "description": "Properties used to start job execution.", + "description": "Properties used to start a job execution.", "required": false, "schema": { "$ref": "#/definitions/JobExecutionTemplate"