Skip to content
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 @@ -1313,7 +1313,7 @@
},
"SourceControlSyncJobProperties": {
"properties": {
"sourceControlSyncJobId": {
"syncJobId": {
"type": "string",
"description": "Gets the source control sync job id."
},
Expand Down Expand Up @@ -1351,9 +1351,17 @@
"readOnly": true,
"description": "Gets the end time of the job."
},
"startedBy": {
"startType": {
"type": "string",
"description": "Gets the user who started the sync job."
"description": "Gets the type of start for the sync job.",
"enum": [
"AutoSync",
"ManualSync"
],
"x-ms-enum": {
"name": "startType",
"modelAsString": true
}
}
},
"description": "Definition of source control sync job properties."
Expand Down Expand Up @@ -1412,7 +1420,7 @@
},
"SourceControlSyncJobByIdProperties": {
"properties": {
"sourceControlSyncJobId": {
"syncJobId": {
"type": "string",
"description": "Gets the source control sync job id."
},
Expand Down Expand Up @@ -1450,30 +1458,24 @@
"readOnly": true,
"description": "Gets the end time of the job."
},
"startedBy": {
"type": "string",
"description": "Gets the user who started the sync job."
},
"errors": {
"description": "Error details of the source control sync job.",
"$ref": "#/definitions/SourceControlSyncJobByIdErrors"
}
},
"description": "Definition of source control sync job properties."
},
"SourceControlSyncJobByIdErrors": {
"type": "object",
"properties": {
"code": {
"startType": {
"type": "string",
"description": "Gets the error code for the job."
"description": "Gets the type of start for the sync job.",
"enum": [
"AutoSync",
"ManualSync"
],
"x-ms-enum": {
"name": "startType",
"modelAsString": true
}
},
"message": {
"exception": {
"type": "string",
"description": "Gets the error message for the job."
"description": "Gets the exceptions that occured while running the sync job."
}
},
"description": "Error details of the source control sync job."
"description": "Definition of source control sync job properties."
},
"ErrorResponse": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a",
"properties": {
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a",
"syncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Completed",
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1"
"startType": "AutoSync"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,56 +14,56 @@
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a1a",
"properties": {
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a1a",
"syncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a1a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Completed",
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1"
"startType": "AutoSync"
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2a",
"properties": {
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2a",
"syncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a2a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Completed",
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1"
"startType": "AutoSync"
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a3a",
"properties": {
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a3a",
"syncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a3a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Completed",
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1"
"startType": "AutoSync"
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a4a",
"properties": {
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a4a",
"syncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a4a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Completed",
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1"
"startType": "AutoSync"
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a5a",
"properties": {
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a5a",
"syncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a5a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Completed",
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1"
"startType": "AutoSync"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,13 @@
"body": {
"id": "/subscriptions/subid/resourceGroups/rg/providers/Microsoft.Automation/automationAccounts/myAutomationAccount33/sourceControls/MySourceControl/sourceControlSyncJobs/ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a",
"properties": {
"sourceControlSyncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a",
"syncJobId": "ce6fe3e3-9db3-4096-a6b4-82bfb4c10a9a",
"creationTime": "2017-03-28T23:14:26.903+00:00",
"provisioningState": "Completed",
"startTime": "2017-03-28T23:14:27.903+00:00",
"endTime": "2017-03-28T23:14:28.903+00:00",
"startedBy": "User1",
"errors": {
"code": "0",
"message": ""
}
"startType": "AutoSync",
"exception": ""
}
}
}
Expand Down