Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating SourceControlSyncJobs and SourceControlSyncJobStreams properties and examples. #3624

Merged
merged 1 commit into from
Aug 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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