| Description | : Gets all source controls, without source control items. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "SourceControls_List",
"$responses": {
"200": {
"$properties": {
"value": {
"$properties": {
"properties": [
{
"contentTypes": {
"Enum": {
"new": [
[
"AnalyticsRule",
""
],
[
"Workbook",
""
]
],
"old": [
[
"AnalyticRule",
""
],
[
"Workbook",
""
]
]
}
}
},
{
"repository": [
{
"pathMapping": {
"$properties": [
{
"#name": "contentType",
"Enum": {
"new": [
[
"AnalyticsRule",
""
],
[
"Workbook",
""
]
],
"old": [
[
"AnalyticRule",
""
],
[
"Workbook",
""
]
]
}
}
]
}
}
]
}
]
}
}
}
}
}
}
⚼ Request
GET:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols
{
api-version:
string
,
subscriptionId:
string
,
resourceGroupName:
string
,
operationalInsightsResourceProvider:
string
,
workspaceName:
string
,
}
⚐ Response (200)
{
nextLink:
string
,
value:
}
[
]
,
{
,
properties:
{
,
id:
string
,
displayName:
string
,
description:
string
,
repoType:
enum
,
contentTypes:
[
,
string
,
]
repository:
}
{
,
url:
string
,
branch:
string
,
displayUrl:
string
,
deploymentLogsUrl:
string
,
pathMapping:
}
[
]
,
{
,
contentType:
enum
,
path:
string
,
}
systemData:
}
{
,
createdBy:
string
,
createdByType:
enum
,
createdAt:
string
,
lastModifiedBy:
string
,
lastModifiedByType:
enum
,
lastModifiedAt:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
}