From af26c842a8022902c7bd2f2f323a7998237f0f71 Mon Sep 17 00:00:00 2001 From: jackofallops Date: Mon, 5 Sep 2022 14:08:10 +0100 Subject: [PATCH 1/3] make compilationJobs name segment consistent and ARM spec conformant --- .../stable/2019-06-01/dscCompilationJob.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/dscCompilationJob.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/dscCompilationJob.json index d620d7b03a76..94ca14b2469c 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/dscCompilationJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/dscCompilationJob.json @@ -204,7 +204,7 @@ "x-ms-odata": "#/definitions/DscCompilationJob" } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{jobId}/streams": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}/streams": { "get": { "tags": [ "DscCompilationJob" @@ -257,7 +257,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{jobId}/streams/{jobStreamId}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/compilationjobs/{compilationJobName}/streams/{jobStreamId}": { "get": { "tags": [ "DscCompilationJob" From 48a2f8bd5a2d6e31172d9ebf02082fd9bde26d10 Mon Sep 17 00:00:00 2001 From: jackofallops Date: Mon, 5 Sep 2022 14:45:43 +0100 Subject: [PATCH 2/3] update segment descriptions --- .../stable/2019-06-01/dscCompilationJob.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/dscCompilationJob.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/dscCompilationJob.json index 94ca14b2469c..1f7fd42a4859 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/dscCompilationJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/dscCompilationJob.json @@ -227,12 +227,12 @@ "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" }, { - "name": "jobId", + "name": "compilationJobName", "in": "path", "required": true, "type": "string", "format": "uuid", - "description": "The job id." + "description": "The DSC configuration Id." }, { "$ref": "../../common/v1/definitions.json#/parameters/SubscriptionIdParameter" @@ -280,12 +280,12 @@ "$ref": "../../common/v1/definitions.json#/parameters/AutomationAccountNameParameter" }, { - "name": "jobId", + "name": "compilationJobName", "in": "path", "required": true, "type": "string", "format": "uuid", - "description": "The job id." + "description": "The DSC configuration Id." }, { "name": "jobStreamId", From 05a1a079fee124477832c96f79bdf98a5f23a663 Mon Sep 17 00:00:00 2001 From: jackofallops Date: Thu, 15 Sep 2022 15:39:06 +0100 Subject: [PATCH 3/3] update examples for property rename --- .../2019-06-01/examples/compilationJobStreamByJobStreamId.json | 2 +- .../stable/2019-06-01/examples/compilationJobStreamList.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/compilationJobStreamByJobStreamId.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/compilationJobStreamByJobStreamId.json index 46e8ae38798f..19873e0cb1a6 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/compilationJobStreamByJobStreamId.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/compilationJobStreamByJobStreamId.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg", "automationAccountName": "myAutomationAccount33", "api-version": "2019-06-01", - "jobId": "836d4e06-2d88-46b4-8500-7febd4906838", + "compilationJobName": "836d4e06-2d88-46b4-8500-7febd4906838", "jobStreamId": "836d4e06-2d88-46b4-8500-7febd4906838_00636481062421684835_00000000000000000008" }, "responses": { diff --git a/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/compilationJobStreamList.json b/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/compilationJobStreamList.json index 9286a37493ef..1647b2dd808e 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/compilationJobStreamList.json +++ b/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/examples/compilationJobStreamList.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg", "automationAccountName": "myAutomationAccount33", "api-version": "2019-06-01", - "jobId": "836d4e06-2d88-46b4-8500-7febd4906838" + "compilationJobName": "836d4e06-2d88-46b4-8500-7febd4906838" }, "responses": { "200": {