From 7f91113e2307757835762f54c1b5ce165d189ee5 Mon Sep 17 00:00:00 2001 From: Francisco Gomez Gamino Date: Fri, 10 Aug 2018 13:31:21 -0700 Subject: [PATCH] Adding property syncType, and removing property startType from SourceControlSyncJobs. Renaming property syncJobStreamId to sourceControlSyncJobStreamId and updating example to reflect the changes. --- .../createSourceControlSyncJob.json | 2 +- .../getAllSourceControlSyncJobs.json | 10 +++++----- .../getSourceControlSyncJob.json | 2 +- .../getSourceControlSyncJobStreams.json | 6 +++--- ...SourceControlSyncJobStreamsByStreamId.json | 2 +- .../sourceControlSyncJob.json | 20 +++++++++---------- .../sourceControlSyncJobStreams.json | 4 ++-- 7 files changed, 23 insertions(+), 23 deletions(-) diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJob/createSourceControlSyncJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJob/createSourceControlSyncJob.json index f7f772229794..616091a16e1f 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJob/createSourceControlSyncJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJob/createSourceControlSyncJob.json @@ -23,7 +23,7 @@ "provisioningState": "Completed", "startTime": "2017-03-28T23:14:27.903+00:00", "endTime": "2017-03-28T23:14:28.903+00:00", - "startType": "AutoSync" + "syncType": "PartialSync" } } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJob/getAllSourceControlSyncJobs.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJob/getAllSourceControlSyncJobs.json index 23e2630d67ca..21dad207b764 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJob/getAllSourceControlSyncJobs.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJob/getAllSourceControlSyncJobs.json @@ -19,7 +19,7 @@ "provisioningState": "Completed", "startTime": "2017-03-28T23:14:27.903+00:00", "endTime": "2017-03-28T23:14:28.903+00:00", - "startType": "AutoSync" + "syncType": "PartialSync" } }, { @@ -30,7 +30,7 @@ "provisioningState": "Completed", "startTime": "2017-03-28T23:14:27.903+00:00", "endTime": "2017-03-28T23:14:28.903+00:00", - "startType": "AutoSync" + "syncType": "PartialSync" } }, { @@ -41,7 +41,7 @@ "provisioningState": "Completed", "startTime": "2017-03-28T23:14:27.903+00:00", "endTime": "2017-03-28T23:14:28.903+00:00", - "startType": "AutoSync" + "syncType": "PartialSync" } }, { @@ -52,7 +52,7 @@ "provisioningState": "Completed", "startTime": "2017-03-28T23:14:27.903+00:00", "endTime": "2017-03-28T23:14:28.903+00:00", - "startType": "AutoSync" + "syncType": "PartialSync" } }, { @@ -63,7 +63,7 @@ "provisioningState": "Completed", "startTime": "2017-03-28T23:14:27.903+00:00", "endTime": "2017-03-28T23:14:28.903+00:00", - "startType": "AutoSync" + "syncType": "PartialSync" } } ] diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJob/getSourceControlSyncJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJob/getSourceControlSyncJob.json index 4f2b2783e676..1d4ae7f66a8f 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJob/getSourceControlSyncJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJob/getSourceControlSyncJob.json @@ -18,7 +18,7 @@ "provisioningState": "Completed", "startTime": "2017-03-28T23:14:27.903+00:00", "endTime": "2017-03-28T23:14:28.903+00:00", - "startType": "AutoSync", + "syncType": "PartialSync", "exception": "" } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json index 9c63cf96795a..7cfe10b76ede 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreams.json @@ -15,7 +15,7 @@ { "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2b/streams/b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855134810785_00000000000000000005", "properties": { - "syncJobStreamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855134810785_00000000000000000005", + "sourceControlSyncJobStreamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855134810785_00000000000000000005", "summary": "ForbiddenError: The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription.", "time": "2017-03-28T23:14:26.903+00:00", "streamType": "Error" @@ -24,7 +24,7 @@ { "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2b/streams/b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855136998262_00000000000000000006", "properties": { - "syncJobStreamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855136998262_00000000000000000006", + "sourceControlSyncJobStreamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855136998262_00000000000000000006", "summary": "System.Management.Automation.RuntimeException: Cannot index into a null array.\r\n at CallSite.Target(Closure , CallSite , Object , Int32 )\r\n at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)\r\n at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame)\r\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)", "time": "2017-03-28T23:14:27.903+00:00", "streamType": "Error" @@ -33,7 +33,7 @@ { "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2b/streams/b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855139029522_00000000000000000007", "properties": { - "syncJobStreamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855139029522_00000000000000000007", + "sourceControlSyncJobStreamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855139029522_00000000000000000007", "summary": "System.Management.Automation.ParameterBindingValidationException: Cannot validate argument on parameter 'Location'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again. ---> System.Management.Automation.ValidationMetadataException: The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.\r\n at System.Management.Automation.ValidateNotNullOrEmptyAttribute.Validate(Object arguments, EngineIntrinsics engineIntrinsics)", "time": "2017-03-28T23:14:28.903+00:00", "streamType": "Error" diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreamsByStreamId.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreamsByStreamId.json index 2ab748eba323..18834ec90c9f 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreamsByStreamId.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/examples/sourceControlSyncJobStreams/getSourceControlSyncJobStreamsByStreamId.json @@ -14,7 +14,7 @@ "body": { "id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2b/streams/b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855139029522_00000000000000000007", "properties": { - "syncJobStreamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855139029522_00000000000000000007", + "sourceControlSyncJobStreamId": "b86c5c31-e9fd-4734-8764-ddd6c101e706_00636596855139029522_00000000000000000007", "summary": "", "time": "2017-03-28T23:14:26.903+00:00", "streamType": "Error", diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJob.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJob.json index 4b7f9abf1ff7..c5479ea3938a 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJob.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJob.json @@ -323,15 +323,15 @@ "readOnly": true, "description": "The end time of the job." }, - "startType": { + "syncType": { "type": "string", - "description": "The type of start for the sync job.", + "description": "The sync type.", "enum": [ - "AutoSync", - "ManualSync" + "PartialSync", + "FullSync" ], "x-ms-enum": { - "name": "startType", + "name": "syncType", "modelAsString": true } }, @@ -407,15 +407,15 @@ "readOnly": true, "description": "The end time of the job." }, - "startType": { + "syncType": { "type": "string", - "description": "The type of start for the sync job.", + "description": "The sync type.", "enum": [ - "AutoSync", - "ManualSync" + "PartialSync", + "FullSync" ], "x-ms-enum": { - "name": "startType", + "name": "syncType", "modelAsString": true } } diff --git a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJobStreams.json b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJobStreams.json index 475e87b0efde..5ed42ec6fd4c 100644 --- a/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJobStreams.json +++ b/specification/automation/resource-manager/Microsoft.Automation/preview/2017-05-15-preview/sourceControlSyncJobStreams.json @@ -209,7 +209,7 @@ }, "SourceControlSyncJobStreamProperties": { "properties": { - "syncJobStreamId": { + "sourceControlSyncJobStreamId": { "type": "string", "description": "The sync job stream id." }, @@ -256,7 +256,7 @@ }, "SourceControlSyncJobStreamByIdProperties": { "properties": { - "syncJobStreamId": { + "sourceControlSyncJobStreamId": { "type": "string", "description": "The sync job stream id." },