Skip to content

Commit

Permalink
Adding property syncType, and removing property startType from Source…
Browse files Browse the repository at this point in the history
…ControlSyncJobs. Renaming property syncJobStreamId to sourceControlSyncJobStreamId and updating example to reflect the changes. (#3624)
  • Loading branch information
Francisco-Gamino authored and anuchandy committed Aug 10, 2018
1 parent 6eebd7b commit 6c9a078
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
{
Expand All @@ -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"
}
},
{
Expand All @@ -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"
}
},
{
Expand All @@ -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"
}
},
{
Expand All @@ -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"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": ""
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
},
Expand Down Expand Up @@ -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
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
},
"SourceControlSyncJobStreamProperties": {
"properties": {
"syncJobStreamId": {
"sourceControlSyncJobStreamId": {
"type": "string",
"description": "The sync job stream id."
},
Expand Down Expand Up @@ -256,7 +256,7 @@
},
"SourceControlSyncJobStreamByIdProperties": {
"properties": {
"syncJobStreamId": {
"sourceControlSyncJobStreamId": {
"type": "string",
"description": "The sync job stream id."
},
Expand Down

0 comments on commit 6c9a078

Please sign in to comment.